2 writes to _mainForm
System.Windows.Forms (2)
System\Windows\Forms\ApplicationContext.cs (2)
63
_mainForm
= value;
108
_mainForm
= null;
8 references to _mainForm
System.Windows.Forms (8)
System\Windows\Forms\ApplicationContext.cs (8)
54
get =>
_mainForm
;
58
if (
_mainForm
is not null)
60
_mainForm
.HandleDestroyed -= onClose;
65
if (
_mainForm
is not null)
67
_mainForm
.HandleDestroyed += onClose;
101
if (
_mainForm
is not null)
103
if (!
_mainForm
.IsDisposed)
105
_mainForm
.Dispose();