private void button3_Click(object sender, EventArgs e)
        {
            CreateGroup createGroup = CreateGroup.GetInstance();

            createGroup.Show();
            this.Hide();
        }
Пример #2
0
        private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            CreateGroup c = new CreateGroup();

            c.Show();
            this.Hide();
        }
 private void tabControl1_SelectedIndexChanged_1(object sender, EventArgs e)
 {
     if (tabControl1.SelectedIndex == 0)
     {
         Dashboard dashboard = Dashboard.GetInstance();
         dashboard.Show();
         this.Hide();
     }
     if (tabControl1.SelectedIndex == 2)
     {
         ManageStudent f = ManageStudent.GetInstance();
         f.Show();
         this.Hide();
     }
     if (tabControl1.SelectedIndex == 3)
     {
         ManageAdvisors f = ManageAdvisors.GetInstance();
         f.Show();
         this.Hide();
     }
     if (tabControl1.SelectedIndex == 4)
     {
         CreateGroup createGroup = CreateGroup.GetInstance();
         createGroup.Show();
         this.Hide();
     }
 }
 public static CreateGroup GetInstance()
 {
     if (Instance == null)
     {
         CreateGroup new_Instance = new CreateGroup();
         return(new_Instance);
     }
     return(Instance);
 }