System.Windows.Forms.MdiClient.ActivateNextChild C# (CSharp) 메소드

ActivateNextChild() 개인적인 메소드

private ActivateNextChild ( ) : void
리턴 void
		internal void ActivateNextChild ()
		{
			if (Controls.Count < 1)
				return;
			if (Controls.Count == 1 && Controls[0] == ActiveMdiChild)
				return;
				
			Form front = (Form) Controls [0];
			Form form = (Form) Controls [1];

			ActivateChild (form);
			front.SendToBack ();
		}

Usage Example

예제 #1
0
 private void NextItemHandler(object sender, EventArgs e)
 {
     mdi_container.ActivateNextChild();
 }