public static frmCalibration getInstance(frmMainWindow mainWin) { if (instance != null) { return(instance); } else { instance = new frmCalibration(mainWin); return(instance); } }
private void btnCalibration_Click(object sender, EventArgs e) { frmCalibration frmCal = new frmCalibration(this); frmCal.Show(); }