Beispiel #1
0
        private void dgvStudView_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            TeacherScheduleForm tsf = new TeacherScheduleForm();

            tsf.txtTeachername.Text = dgvTeacher.CurrentRow.Cells[0].Value.ToString();
            tsf.txtsubject.Text     = dgvTeacher.CurrentRow.Cells[1].Value.ToString();
            this.Close();
            tsf.txtSearch.Enabled = false;
            tsf.ShowDialog();
        }
Beispiel #2
0
        private void TScheduletoolStripMenuItem10_Click(object sender, EventArgs e)
        {
            TeacherScheduleForm tes = new TeacherScheduleForm();

            tes.ShowDialog();
        }