示例#1
0
        private void btnDeleteStudent_Click(object sender, EventArgs e)
        {
            FormStudent fs = new FormStudent();

            fs.lblTitle.Text     = "Delete";
            fs.btnDelete.Visible = true;
            fs.Show();
        }
示例#2
0
        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);
        }