4 writes to _ctlClient
System.Windows.Forms (4)
System\Windows\Forms\Form.ControlCollection.cs (2)
44_owner._ctlClient = client; 65_owner._ctlClient = null;
System\Windows\Forms\Form.cs (2)
3269_ctlClient = null; 3507_ctlClient = null;
27 references to _ctlClient
System.Windows.Forms (27)
System\Windows\Forms\Form.ControlCollection.cs (3)
31if (value is MdiClient client && _owner._ctlClient is null) 55_owner._ctlClient?.SendToBack(); 63if (value == _owner._ctlClient)
System\Windows\Forms\Form.cs (24)
316if (_ctlClient is not null && _ctlClient.IsHandleCreated) 318IntPtr hwnd = PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDIGETACTIVE); 1096return _ctlClient is not null; 1108Debug.Assert(_ctlClient is null, "why isn't ctlClient null"); 1114Debug.Assert(_ctlClient is not null, "why is ctlClient null"); 1116_ctlClient.Dispose(); 1414public Form[] MdiChildren => _ctlClient is not null ? _ctlClient.MdiChildren : ([]); 1438internal MdiClient? MdiClient => _ctlClient; 3267if (control == _ctlClient) 3427if (_ctlClient is not null && _ctlClient.IsHandleCreated && _ctlClient.ParentInternal == this) 3431_ctlClient.HWND, 3436GC.KeepAlive(_ctlClient); 3931_ctlClient?.LayoutMdi(value); 4671if (_ctlClient is not null && _ctlClient.Handle != IntPtr.Zero && 4672PInvoke.TranslateMDISysAccel(_ctlClient.HWND, win32Message)) 6074if (_ctlClient is null || !_ctlClient.IsHandleCreated) 6102PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDISETMENU, (WPARAM)dummyMenu.Value); 7002if (_ctlClient is null)