private void button1_Click(object sender, EventArgs e) { frmSim sim = new frmSim(); sim.ShowDialog(); }