private void button1_Click(object sender, EventArgs e) { home f2 = new home(); f2.Show(); this.Hide(); }
private void buttonHome_Click(object sender, EventArgs e) { panelLeft.Height = buttonHome.Height; panelLeft.Top = buttonHome.Top; home f2 = new home(); f2.Show(); this.Hide(); }