Implemented interface member:
method
Dispose
System.IDisposable.Dispose()
124 references to Dispose
PresentationFramework (1)
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
57m_player.Dispose();
SMSvcHost (1)
System\ServiceModel\Activation\MsmqActivation.cs (1)
614this.queue.Dispose();
System (3)
compmod\system\diagnostics\TraceEventCache.cs (1)
89p.Dispose();
services\monitoring\system\diagnosticts\Process.cs (1)
1563procs[i].Dispose();
sys\system\io\ports\SerialPort.cs (1)
638Dispose();
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
212this.sqlCommand.Dispose();
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (1)
316this.sqlCommand.Dispose();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
277this.validator.Dispose();
System.Data (15)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
277this.validator.Dispose();
fx\src\data\System\Data\Common\DBCommandBuilder.cs (3)
1344command.Dispose(); 1347command.Dispose(); 1350command.Dispose();
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (6)
528command.Dispose(); 778command.Dispose(); 827command.Dispose(); 864command.Dispose(); 918command.Dispose(); 997command.Dispose();
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
823_connection.Dispose();
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
246command.Dispose();
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
200_com.Dispose(); 204_con.Dispose(); 916_con.Dispose(); // Close and dispose connection.
System.Data.Entity (2)
System\Data\EntityClient\EntityConnection.cs (1)
813this._storeConnection.Dispose();
System\Data\Objects\ObjectContext.cs (1)
1811_connection.Dispose();
System.Data.Entity.Design (1)
System\Data\Entity\Design\SSDLGenerator\FunctionDetailsReader.cs (1)
86_command.Dispose();
System.Data.Linq (1)
SqlClient\SqlConnectionManager.cs (1)
92this.connection.Dispose();
System.Management (1)
managementbaseobject.cs (1)
240base.Dispose();
System.Runtime.Caching (1)
System\Caching\PerfCounters.cs (1)
143counter.Dispose();
System.Web.Extensions (1)
ClientServices\Providers\SqlHelper.cs (1)
201conn.Dispose();
System.Windows.Forms (77)
winforms\Managed\System\WinForms\Application.cs (2)
3257td.Dispose(); 4278c.Dispose();
winforms\Managed\System\WinForms\ApplicationContext.cs (1)
112mainForm.Dispose();
winforms\Managed\System\WinForms\AxHost.cs (1)
4519newParent.Dispose();
winforms\Managed\System\WinForms\ButtonBase.cs (1)
767textToolTip.Dispose();
winforms\Managed\System\WinForms\Control.cs (2)
6048ctl.Dispose(); 18200this.control.Dispose();
winforms\Managed\System\WinForms\DataGrid.cs (4)
5809vertScrollBar.Dispose(); 5811horizScrollBar.Dispose(); 5814this.toBeDisposedEditingControl.Dispose(); 5824tables[i].Dispose();
winforms\Managed\System\WinForms\DataGridTable.cs (1)
1896cols[i].Dispose();
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
2710this.latestEditingControl.Dispose(); 5600this.vertScrollBar.Dispose(); 5605this.horizScrollBar.Dispose(); 5645this.latestEditingControl.Dispose(); 5650this.editingControl.Dispose(); 5655this.editingPanel.Dispose();
winforms\Managed\System\WinForms\DataGridViewToolTip.cs (1)
93this.toolTip.Dispose();
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
982timer.Dispose();
winforms\Managed\System\WinForms\Form.cs (12)
1427ctlClient.Dispose(); 3575Dispose(); 3805MdiWindowListStrip.Dispose(); 3810MdiControlStrip.Dispose(); 3831ownedForms[i].Dispose(); 3849mainMenu.Dispose(); 3862dummyMenu.Dispose(); 3870mergedMenu.Dispose(); 4522menu.Dispose(); 4573mainMenu.Dispose(); 6688mdiControlStrip.Dispose(); 7115Dispose();
winforms\Managed\System\WinForms\Label.cs (1)
1178textToolTip.Dispose();
winforms\Managed\System\WinForms\ListView.cs (1)
2966columnHeaders[colIdx].Dispose();
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
1289txtBox.Dispose();
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
177system.DropDown.Dispose(); 188system.DropDown.Dispose();
winforms\Managed\System\WinForms\Menu.cs (2)
308item.Dispose(); 554itemDst.Dispose();
winforms\Managed\System\WinForms\MenuItem.cs (1)
818item.Dispose();
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
200dialog.Dispose();
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
2225imageList[i].Dispose(); 4502imageList[LARGE_BUTTONS].Dispose();
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (9)
1134if (scrollBar != null) scrollBar.Dispose(); 1135if (listBox != null) listBox.Dispose(); 1136if (dropDownHolder != null) dropDownHolder.Dispose(); 1154edit.Dispose(); 1165btnDropDown.Dispose(); 1170btnDialog.Dispose(); 1175toolTip.Dispose(); 2464toolTip.Dispose(); 5567createNewLink.Dispose();
winforms\Managed\System\WinForms\StatusBar.cs (1)
661p.Dispose();
winforms\Managed\System\WinForms\StatusStrip.cs (2)
271rtlLayoutGrip.Dispose(); 297rtlLayoutGrip.Dispose();
winforms\Managed\System\WinForms\ToolBar.cs (1)
1099b.Dispose();
winforms\Managed\System\WinForms\ToolStrip.cs (6)
2092toolStripPanelCell.Dispose(); 2105toolTip.Dispose (); 2111Items[i].Dispose(); 2117toolStripGrip.Dispose(); 2120toolStripOverflowButton.Dispose(); 5326mouseHoverTimer.Dispose();
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
601Control.Dispose();
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
372dropDown.Dispose();
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1033_ensureMessageProcessingTimer.Dispose();
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
52this.DropDown.Dispose();
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
803dropDown.Dispose();
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
337Dispose(); 733Dispose();
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (1)
108mouseDownTimer.Dispose();
winforms\Managed\System\WinForms\ToolTip.cs (1)
2123timerRef.Dispose();
winforms\Managed\System\WinForms\TreeView.cs (2)
2085internalStateImageList.Dispose(); 2132internalStateImageList.Dispose();
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1777timer.Dispose();
winforms\Managed\System\WinForms\WebBrowser.cs (2)
1514this.Dispose(); 1517this.Dispose();
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (1)
70controlToSendTo.Dispose();
System.Windows.Forms.DataVisualization (1)
WinForm\Utilities\Printing.cs (1)
299_printDocument.Dispose();
System.Workflow.ComponentModel (8)
AuthoringOM\Design\ActivityDesigner.cs (1)
1153this.workflowView.Dispose();
AuthoringOM\Design\DesignerWidgets.cs (2)
1029palette.Dispose(); 1281this.paletteShadow.Dispose();
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
108this.designerPreview.Dispose(); 965workflowView.Dispose();
AuthoringOM\Design\WorkflowView.cs (3)
308this.toolContainer.Dispose(); 668this.toolContainer.Dispose(); 2376this.timer.Dispose();
System.Workflow.Runtime (6)
Hosting\SharedConnectionInfo.cs (1)
106this.connection.Dispose();
Hosting\SqlWorkflowPersistenceService.cs (2)
144this.connection.Dispose(); 550connection.Dispose();
Tracking.cs (1)
86_timer.Dispose();
Tracking\SqlTrackingService.cs (2)
606command.Connection.Dispose(); 1101connection.Dispose();
System.WorkflowServices (1)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
369command.Dispose();
WsatUI (1)
MMCUI\WSATPropertySheet.cs (1)
397wsatControl.Dispose();