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)
3332_ctlClient = null; 3561_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)
315if (_ctlClient is not null && _ctlClient.IsHandleCreated) 317IntPtr hwnd = PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDIGETACTIVE); 1092return _ctlClient is not null; 1104Debug.Assert(_ctlClient is null, "why isn't ctlClient null"); 1110Debug.Assert(_ctlClient is not null, "why is ctlClient null"); 1112_ctlClient.Dispose(); 1410public Form[] MdiChildren => _ctlClient is not null ? _ctlClient.MdiChildren : ([]); 1434internal MdiClient? MdiClient => _ctlClient; 3330if (control == _ctlClient) 3490if (_ctlClient is not null && _ctlClient.IsHandleCreated && _ctlClient.ParentInternal == this) 3494_ctlClient.HWND, 3499GC.KeepAlive(_ctlClient); 3991_ctlClient?.LayoutMdi(value); 4728if (_ctlClient is not null && _ctlClient.Handle != IntPtr.Zero && 4729PInvoke.TranslateMDISysAccel(_ctlClient.HWND, win32Message)) 6189if (_ctlClient is null || !_ctlClient.IsHandleCreated) 6217PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDISETMENU, (WPARAM)dummyMenu.Value); 7121if (_ctlClient is null)