private void button2_Click(object sender, EventArgs e) { frmMain main = new frmMain(this); main.Show(); this.Hide(); }