View | Details | Raw Unified | Return to bug 10537
Collapse All | Expand All

(-)a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs (-1 / +1 lines)
Lines 322-328 namespace System.Windows.Forms { Link Here
322
322
323
		internal void SendControlFocus (Control c)
323
		internal void SendControlFocus (Control c)
324
		{
324
		{
325
			if (c.IsHandleCreated) {
325
			if (c != null && c.IsHandleCreated) {
326
				XplatUI.SetFocus (c.window.Handle);
326
				XplatUI.SetFocus (c.window.Handle);
327
			}
327
			}
328
		}
328
		}

Return to bug 10537