/// <summary> /// Displays the button example child form /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonExample_Click(object sender, EventArgs e) { ButtonExample buttonForm = new ButtonExample(); buttonForm.MdiParent = this; buttonForm.Show(); }
private void buttonExample_Click(object sender, EventArgs e) // Дочерняя форма с кнопками { var buttonForm = new ButtonExample { MdiParent = this }; buttonForm.Show(); }