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)
3329_ctlClient = null; 3558_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)
312if (_ctlClient is not null && _ctlClient.IsHandleCreated) 314IntPtr hwnd = PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDIGETACTIVE); 1089return _ctlClient is not null; 1101Debug.Assert(_ctlClient is null, "why isn't ctlClient null"); 1107Debug.Assert(_ctlClient is not null, "why is ctlClient null"); 1109_ctlClient.Dispose(); 1407public Form[] MdiChildren => _ctlClient is not null ? _ctlClient.MdiChildren : ([]); 1431internal MdiClient? MdiClient => _ctlClient; 3327if (control == _ctlClient) 3487if (_ctlClient is not null && _ctlClient.IsHandleCreated && _ctlClient.ParentInternal == this) 3491_ctlClient.HWND, 3496GC.KeepAlive(_ctlClient); 3982_ctlClient?.LayoutMdi(value); 4712if (_ctlClient is not null && _ctlClient.Handle != IntPtr.Zero && 4713PInvoke.TranslateMDISysAccel(_ctlClient.HWND, win32Message)) 6173if (_ctlClient is null || !_ctlClient.IsHandleCreated) 6201PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDISETMENU, (WPARAM)dummyMenu.Value); 7106if (_ctlClient is null)