private void recipeScanToolStripMenuItem_Click(object sender, EventArgs e) { recipeScanForm rsForm1 = new recipeScanForm(); plotForm pForm1 = new plotForm(); rsForm1.loadQErigInst(ref mainQErigInst, ref mc1); rsForm1.MdiParent = this; pForm1.MdiParent = this; rsForm1.measurementStarted += new MeasruementStartEventhandler(showPlotWindow); activePlotForm = pForm1; rsForm1.measurementFinished += new MeasurmentFinishEventHandler(changePlotWindowProperties); rsForm1.Show(); }
private void readEQEFileToolStripMenuItem_Click(object sender, EventArgs e) { plotForm pForm = new plotForm(); pForm.Show(); }