private void ShowNewForm(object sender, EventArgs e) { Form childForm = new Publisher.Form1(); childForm.MdiParent = this; childForm.Text = "Window " + childFormNumber++; childForm.Show(); }
private void PublisherToolStripMenuItem_Click(object sender, EventArgs e) { Form childForm = new Publisher.Form1(); childForm.MdiParent = this; childForm.Text = "Publisher " + childFormNumber++; childForm.Show(); }