public ENAForm(string visaAddress) { eNA = new AgN99xx_NA(visaAddress); start = new Startup(); stimform = new StimulusSettingsForm(); xlApp = new Excel.Application(); resultsFileFullPath = fileDirectory + @"\" + resultsFile; InitializeComponent(); }
private void stimulusToolStripMenuItem_Click(object sender, EventArgs e) { stimform.MdiParent = this; if (stimform.IsDisposed) { stimform = new StimulusSettingsForm(); } stimform.Show(); stimform.Left = (this.Width - (stimform.Width - 20)); }