Esempio n. 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            DashboardS d = new DashboardS();

            d.Show();
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            String title = comboBoxselect.SelectedItem.ToString();

            if (title == "Site Manager")
            {
                this.Hide();
                DashboardSm d = new DashboardSm();
                d.Show();
            }
            else if (title == "Procurement Manager")
            {
                this.Hide();
                DashboardPm d = new DashboardPm();
                d.Show();
            }
            else
            {
                this.Hide();
                DashboardS d = new DashboardS();
                d.Show();
            }
        }