Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            home f2 = new home();

            f2.Show();
            this.Hide();
        }
Exemple #2
0
        private void buttonHome_Click(object sender, EventArgs e)
        {
            panelLeft.Height = buttonHome.Height;
            panelLeft.Top    = buttonHome.Top;

            home f2 = new home();

            f2.Show();
            this.Hide();
        }