System.Windows.Forms.Form.WmSetFocus C# (CSharp) Méthode

WmSetFocus() private méthode

private WmSetFocus ( Message &m ) : void
m Message
Résultat void
		private void WmSetFocus (ref Message m)
		{
			if (ActiveControl != null && ActiveControl != this) {
				ActiveControl.Focus ();
				return;	// FIXME - do we need to run base.WndProc, even though we just changed focus?
			}
			if (IsMdiContainer) {
				mdi_container.SendFocusToActiveChild ();
				return;
			}
			base.WndProc (ref m);
		}
		
Form