Exemplo n.º 1
0
		private void cmdNew(object sender, EventArgs e)
		{
			// Show a new child form.
			Child frmChild = new Child();
			frmChild.MdiParent = this;

			frmChild.RefreshText(synchronizedText);
			mdiIndex++;
			frmChild.Text = "MDI Child #" + mdiIndex.ToString();

			frmChild.Show();
		}
        private void cmdNew(object sender, EventArgs e)
        {
            // Show a new child form.
            Child frmChild = new Child();

            frmChild.MdiParent = this;

            frmChild.RefreshText(synchronizedText);
            mdiIndex++;
            frmChild.Text = "MDI Child #" + mdiIndex.ToString();

            frmChild.Show();
        }