Exemplo n.º 1
0
        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();
        }
Exemplo n.º 3
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)
                {
                    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();
            }
        }
Exemplo n.º 4
0
        private void lblAssignStudents_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Hide();
            CreateGroup CG = new CreateGroup();

            CG.Show();
        }
Exemplo n.º 5
0
        private void btnGroups_Click(object sender, EventArgs e)
        {
            this.Hide();
            CreateGroup CG = new CreateGroup();

            CG.Show();
        }
Exemplo n.º 6
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();
        }