4 writes to _controlInEditMode
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (4)
635
_controlInEditMode
= null;
655
_controlInEditMode
= null;
686
_controlInEditMode
= null;
692
_controlInEditMode
= host;
10 references to _controlInEditMode
System.Windows.Forms (10)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (10)
629
Debug.Assert(
_controlInEditMode
is null ||
_controlInEditMode
== ctl, "who is exiting edit mode?");
630
if (
_controlInEditMode
is null ||
_controlInEditMode
!= ctl)
652
if (
_controlInEditMode
is not null)
654
_controlInEditMode
._editMode = EDITM_NONE;
677
if (
_controlInEditMode
is not null)
679
Debug.Fail($"control {
_controlInEditMode
} did not reset its edit mode to null");
680
_controlInEditMode
.SetSelectionStyle(1);
681
_controlInEditMode
._editMode = EDITM_NONE;