76 references to Cancel
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerTransaction.cs (1)
85protected virtual void Dispose(bool disposing) => Cancel();
System.Windows.Forms (5)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
284transaction?.Cancel();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (4)
693transaction?.Cancel(); 705transaction?.Cancel(); 884transaction?.Cancel(); 903transaction?.Cancel();
System.Windows.Forms.Design (57)
System\ComponentModel\Design\CollectionEditor.cs (1)
277transaction?.Cancel();
System\ComponentModel\Design\ComponentDesigner.cs (1)
345t?.Cancel();
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
201changeParent.Cancel();
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
391transaction!.Cancel();
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
563transSource?.Cancel(); 565transTarget?.Cancel();
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
419t.Cancel();
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (2)
81t.Cancel(); 143_resizeTransaction.Cancel();
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (1)
108changeParent.Cancel();
System\Windows\Forms\Design\ControlCommandSet.cs (1)
1063trans?.Cancel();
System\Windows\Forms\Design\DataGridViewDesigner.cs (7)
763transaction?.Cancel(); 791transaction?.Cancel(); 857transaction?.Cancel(); 948transaction?.Cancel(); 991transaction?.Cancel(); 1034transaction?.Cancel(); 1077transaction?.Cancel();
System\Windows\Forms\Design\DesignBindingPicker.cs (3)
1292trans?.Cancel(); 1301trans?.Cancel(); 1319trans?.Cancel();
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
704designerTransaction?.Cancel();
System\Windows\Forms\Design\StandardMenuStripVerb.cs (2)
230createMenu.Cancel(); 373createMenu.Cancel();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (5)
635trans?.Cancel(); 1658t?.Cancel(); 1771t?.Cancel(); 1921t?.Cancel(); 2026t?.Cancel();
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
120newItemTransaction.Cancel();
System\Windows\Forms\Design\ToolStripDesigner.cs (9)
543NewItemTransaction.Cancel(); 687_pendingTransaction.Cancel(); 693outerTransaction.Cancel(); 706_pendingTransaction.Cancel(); 709outerTransaction?.Cancel(); 740_insertMenuItemTransaction?.Cancel(); 939_pendingTransaction.Cancel(); 1128_pendingTransaction.Cancel(); 1941changeParent.Cancel();
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
822designerTransaction.Cancel();
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
358transaction.Cancel(); 554newItemTransaction.Cancel();
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
390designerTransaction.Cancel(); 420designer.NewItemTransaction.Cancel(); 889designerTransaction.Cancel();
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (12)
471_newMenuItemTransaction.Cancel(); 512_newMenuItemTransaction.Cancel(); 553designerTransaction.Cancel(); 666_newMenuItemTransaction.Cancel(); 699_newMenuItemTransaction.Cancel(); 820_newMenuItemTransaction.Cancel(); 908outerTransaction.Cancel(); 1289_newMenuItemTransaction.Cancel(); 1813mainStripDesigner.InsertTransaction.Cancel(); 1829_insertMenuItemTransaction.Cancel(); 1988_pendingTransaction.Cancel(); 2804changeParent.Cancel();
System.Windows.Forms.Design.Tests (13)
System\ComponentModel\Design\DesignerHostTests.cs (13)
1885transaction2.Cancel(); 1910transaction2.Cancel(); 1954transaction3.Cancel(); 1955transaction2.Cancel(); 1956transaction1.Cancel(); 1968transaction2.Cancel(); 1979transaction2.Cancel(); 1990transaction1.Cancel(); 2031transaction2.Cancel(); 2038transaction2.Cancel(); 2046transaction1.Cancel(); 2056transaction3.Cancel(); 2069Assert.Throws<InvalidOperationException>(transaction1.Cancel);