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)
3344_ctlClient = null; 3582_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)
313if (_ctlClient is not null && _ctlClient.IsHandleCreated) 315IntPtr hwnd = PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDIGETACTIVE); 1093return _ctlClient is not null; 1105Debug.Assert(_ctlClient is null, "why isn't ctlClient null"); 1111Debug.Assert(_ctlClient is not null, "why is ctlClient null"); 1113_ctlClient.Dispose(); 1411public Form[] MdiChildren => _ctlClient is not null ? _ctlClient.MdiChildren : ([]); 1435internal MdiClient? MdiClient => _ctlClient; 3342if (control == _ctlClient) 3502if (_ctlClient is not null && _ctlClient.IsHandleCreated && _ctlClient.ParentInternal == this) 3506_ctlClient.HWND, 3511GC.KeepAlive(_ctlClient); 4006_ctlClient?.LayoutMdi(value); 4730if (_ctlClient is not null && _ctlClient.Handle != IntPtr.Zero && 4731PInvoke.TranslateMDISysAccel(_ctlClient.HWND, win32Message)) 6165if (_ctlClient is null || !_ctlClient.IsHandleCreated) 6193PInvokeCore.SendMessage(_ctlClient, PInvokeCore.WM_MDISETMENU, (WPARAM)dummyMenu.Value); 7093if (_ctlClient is null)