private void btnDeleteStudent_Click(object sender, EventArgs e) { FormStudent fs = new FormStudent(); fs.lblTitle.Text = "Delete"; fs.btnDelete.Visible = true; fs.Show(); }
private void vytvořeníStudentaToolStripMenuItem_Click_1(object sender, EventArgs e) { FormStudent myForm = new FormStudent(); myForm.ShowDialog(); }
private void StudentToolStripMenuItem_Click(object sender, EventArgs e) { FormStudent student = new FormStudent(); ShowForm(student); }