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