private void button1_Click(object sender, EventArgs e) { CreateGroup c = new CreateGroup(); c.Show(); this.Hide(); }
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { CreateGroup cg = new CreateGroup(); this.Hide(); cg.Show(); }
private void lblAssignStudents_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { this.Hide(); CreateGroup CG = new CreateGroup(); CG.Show(); }
private void dgvGroups_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == 0) { int id = Groups.groups1[e.RowIndex].GroupID; if (Groups.checkNumberOfStudents(id) < 4) { CreateGroup.check1 = Groups.checkNumberOfStudents(id); CreateGroup.Mode = 1; CreateGroup.GroupId = id; CreateGroup CG = new CreateGroup(); CG.Show(); this.Hide(); } else { MessageBox.Show("4 Students already added"); } } else if (e.ColumnIndex == 1) { Groupid = Groups.groups1[e.RowIndex].GroupID; setGrid1(); } }
private void btnGroups_Click(object sender, EventArgs e) { this.Hide(); CreateGroup CG = new CreateGroup(); CG.Show(); }