private void newFontBt_Click(object sender, EventArgs e) { FontEditor childForm = new FontEditor(); childForm.MdiParent = this; childForm.Text = "Font"; childForm.Show(); }
private void fontEditorToolStripMenuItem_Click_1(object sender, System.EventArgs e) { var form = new FontEditor() { MdiParent = this }; form.Show(); }