private void button2_Click(object sender, System.EventArgs e) { frmMain main = new frmMain(); main.ShowDialog(); }