示例#1
0
        private void lnkstudentdata_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Student_Data form = new Student_Data();

            this.Hide();
            form.Show();
        }
示例#2
0
 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cmbVData.Text == "Student")
     {
         Student_Data s = new Student_Data();
         s.Show();
         this.Hide();
     }
     if (cmbVData.Text == "Teacher")
     {
         Teacher_Data t = new Teacher_Data();
         t.Show();
         this.Hide();
     }
 }