4 writes to NewItemTransaction
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
510
NewItemTransaction
= _host.CreateTransaction(SR.ToolStripCreatingNewItemTransaction);
544
NewItemTransaction
= null;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
363
designer.
NewItemTransaction
= null;
421
designer.
NewItemTransaction
= null;
7 references to NewItemTransaction
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
541
if (
NewItemTransaction
is not null)
543
NewItemTransaction
.Cancel();
2451
Debug.Assert(
NewItemTransaction
is null, "NewItemTransaction should have been nulled out and cancelled by now.");
System\Windows\Forms\Design\ToolStripItemDesigner.cs (4)
360
if (designer.
NewItemTransaction
is not null)
362
designer.
NewItemTransaction
.Commit();
418
if (designer.
NewItemTransaction
is not null)
420
designer.
NewItemTransaction
.Cancel();