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