Exemple #1
0
 private void dgvGroups_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 0)
     {
         int id = Groups.groups1[e.RowIndex].GroupID;
         if (Groups.checkNumberOfStudents(id) < 4)
         {
             MakeGroups MG = new MakeGroups();
             MG.Show();
         }
         else
         {
             MessageBox.Show("4 Students already added");
         }
     }
     else if (e.ColumnIndex == 1)
     {
     }
 }
Exemple #2
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Hide();
            AddStudent AS = new AddStudent();

            AS.Show();
            AddAdvisor AD = new AddAdvisor();

            AD.Show();
            AddProject AP = new AddProject();

            AP.Show();
            MakeGroups MG = new MakeGroups();
            //MG.Show();
            CreateGroup CG = new CreateGroup();
            //CG.Show();
            AddEvaluation AE = new AddEvaluation();

            AE.Show();
        }