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)
54get => _mainForm; 58if (_mainForm is not null) 60_mainForm.HandleDestroyed -= onClose; 65if (_mainForm is not null) 67_mainForm.HandleDestroyed += onClose; 101if (_mainForm is not null) 103if (!_mainForm.IsDisposed) 105_mainForm.Dispose();