System.Windows.Forms.ToolStripDropDown.OnHandleCreated C# (CSharp) Method

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
return void
		protected override void OnHandleCreated (EventArgs e)
		{
			base.OnHandleCreated (e);

			if (Application.MWFThread.Current.Context != null && Application.MWFThread.Current.Context.MainForm != null)
				XplatUI.SetOwner (this.Handle, Application.MWFThread.Current.Context.MainForm.Handle);
		}