private void button3_Click(object sender, EventArgs e) { WordForm firstForm = new WordForm(); firstForm.MdiParent = this; firstForm.Show(); wordForms.Add(firstForm); }
private void Form1_Load(object sender, EventArgs e) { LoadWords(); WordForm firstForm = new WordForm(); firstForm.MdiParent = this; firstForm.WindowState = FormWindowState.Maximized; firstForm.Show(); wordForms.Add(firstForm); }