Exemplo n.º 1
0
        private void button4_Click(object sender, EventArgs e)
        {
            Home f = new Home();

            this.Hide();
            f.ShowDialog();
            this.Close();
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Home f1 = new Home();

            f1.ShowDialog();
            this.Close();
        }
Exemplo n.º 3
0
        private void button5_Click(object sender, EventArgs e)
        {
            button1.BackColor = Color.DarkSlateGray;
            button2.BackColor = Color.DarkSlateGray;
            button3.BackColor = Color.DarkSlateGray;
            button5.BackColor = Color.Blue;
            button7.BackColor = Color.DarkSlateGray;
            button8.BackColor = Color.DarkSlateGray;
            Home Home = new Home();

            this.Hide();
            Home.ShowDialog();
            this.Close();
        }