private void button1_Click(object sender, EventArgs e)
        {
            ManageProjects manageProjects = ManageProjects.GetInstance();

            manageProjects.Show();
            this.Hide();
        }
        private void btnCancel_Click(object sender, EventArgs e)
        {
            ManageProjects project = ManageProjects.GetInstance();

            project.Show();
            this.Hide();
        }
Ejemplo n.º 3
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            ManageProjects m = ManageProjects.GetInstance();

            m.Show();
            this.Hide();
        }
 private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (tabControl1.SelectedIndex == 0)
     {
         Dashboard dashboard = Dashboard.GetInstance();
         dashboard.Show();
         this.Hide();
     }
     if (tabControl1.SelectedIndex == 1)
     {
         ManageProjects f = ManageProjects.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 ManageProjects GetInstance()
 {
     if (Instance == null)
     {
         ManageProjects new_Instance = new ManageProjects();
         return(new_Instance);
     }
     return(Instance);
 }