4 writes to NewItemTransaction
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
477
NewItemTransaction
= _host.CreateTransaction(SR.ToolStripCreatingNewItemTransaction);
508
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)
505
if (
NewItemTransaction
is not null)
507
NewItemTransaction
.Cancel();
2476
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();