System.Windows.Forms.MdiClient.ActivateNextChild C# (CSharp) Method

ActivateNextChild() private method

private ActivateNextChild ( ) : void
return 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();
 }