95 references to Commit
DesignSurface (1)
CustomControls\CustomButtonDesignerActionList.cs (1)
82
t.
Commit
();
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3048
transaction?.
Commit
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
191
transaction?.
Commit
();
302
transaction?.
Commit
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
712
transaction?.
Commit
();
909
transaction?.
Commit
();
System.Windows.Forms.Design (81)
System\ComponentModel\Design\CollectionEditor.cs (1)
273
transaction?.
Commit
();
System\ComponentModel\Design\ComponentDesigner.cs (1)
350
t?.
Commit
();
System\ComponentModel\Design\DesignerHost.cs (3)
782
t.
Commit
();
794
transaction.
Commit
();
1027
t.
Commit
();
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
259
transaction?.
Commit
();
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
209
changeParent.
Commit
();
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
397
transaction?.
Commit
();
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
550
transSource.
Commit
();
556
transTarget.
Commit
();
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
964
t.
Commit
();
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (1)
399
t.
Commit
();
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
189
transaction.
Commit
();
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (1)
114
changeParent?.
Commit
();
System\Windows\Forms\Design\CommandSet.cs (12)
943
trans?.
Commit
();
1103
trans?.
Commit
();
1223
trans?.
Commit
();
1376
trans?.
Commit
();
1549
trans?.
Commit
();
1760
trans?.
Commit
();
2172
trans.
Commit
();
2266
trans?.
Commit
();
2362
trans?.
Commit
();
2442
trans?.
Commit
();
2499
trans?.
Commit
();
2876
trans?.
Commit
();
System\Windows\Forms\Design\ComponentTray.cs (4)
311
t?.
Commit
();
326
t?.
Commit
();
417
t?.
Commit
();
2515
trans?.
Commit
();
System\Windows\Forms\Design\ControlCommandSet.cs (3)
805
trans?.
Commit
();
898
trans?.
Commit
();
1123
trans.
Commit
();
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (1)
67
t.
Commit
();
System\Windows\Forms\Design\DataGridViewDesigner.cs (7)
759
transaction?.
Commit
();
787
transaction?.
Commit
();
852
transaction?.
Commit
();
943
transaction?.
Commit
();
986
transaction?.
Commit
();
1029
transaction?.
Commit
();
1072
transaction?.
Commit
();
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1312
trans.
Commit
();
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
700
designerTransaction?.
Commit
();
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (1)
269
trans?.
Commit
();
System\Windows\Forms\Design\OleDragDropHandler.cs (3)
249
trans?.
Commit
();
530
trans?.
Commit
();
828
trans?.
Commit
();
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
2212
dt.
Commit
();
System\Windows\Forms\Design\SelectionUIService.cs (3)
1052
_dragTransaction.
Commit
();
1147
trans?.
Commit
();
1154
_dragTransaction.
Commit
();
System\Windows\Forms\Design\StandardMenuStripVerb.cs (2)
239
createMenu.
Commit
();
383
createMenu.
Commit
();
System\Windows\Forms\Design\TabControlDesigner.cs (2)
304
t?.
Commit
();
367
t?.
Commit
();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (5)
610
trans.
Commit
();
1652
t.
Commit
();
1765
t.
Commit
();
1915
t.
Commit
();
2020
t.
Commit
();
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
131
newItemTransaction?.
Commit
();
System\Windows\Forms\Design\ToolStripDesigner.cs (4)
713
outerTransaction?.
Commit
();
948
_pendingTransaction.
Commit
();
1049
_pendingTransaction.
Commit
();
1947
changeParent?.
Commit
();
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
833
designerTransaction?.
Commit
();
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (4)
425
newItemTransaction?.
Commit
();
464
newItemTransaction?.
Commit
();
503
newItemTransaction?.
Commit
();
565
newItemTransaction?.
Commit
();
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
362
designer.NewItemTransaction.
Commit
();
403
designerTransaction?.
Commit
();
895
designerTransaction?.
Commit
();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (8)
484
_newMenuItemTransaction.
Commit
();
525
_newMenuItemTransaction.
Commit
();
559
designerTransaction?.
Commit
();
914
outerTransaction?.
Commit
();
1809
mainStripDesigner.InsertTransaction.
Commit
();
1825
_insertMenuItemTransaction.
Commit
();
1899
_pendingTransaction.
Commit
();
2810
changeParent?.
Commit
();
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\DesignerHostTests.cs (8)
2081
transaction2.
Commit
();
2092
transaction2.
Commit
();
2103
transaction1.
Commit
();
2144
transaction2.
Commit
();
2151
transaction2.
Commit
();
2159
transaction1.
Commit
();
2169
transaction3.
Commit
();
2182
Assert.Throws<InvalidOperationException>(transaction1.
Commit
);