private void button1_Click(object sender, EventArgs e) { frmStart l = frmStart.getInstance(); l.Show(); this.Hide(); }
public static frmStart getInstance() { if (l == null) { l = new frmStart(); l.Show(); return(l); } else { return(l); } }