private void yesToolStripMenuItem_Click(object sender, EventArgs e) { openFileTestForm openTest = new openFileTestForm(); openTest.OpenFile("yes"); openTest.MdiParent = this; openTest.Show(); }
private void openHelpToolStripMenuItem_Click(object sender, EventArgs e) { openFileTestForm openHelpText = new openFileTestForm(); String filePath = AppDomain.CurrentDomain.BaseDirectory + "\\Help.txt"; openHelpText.OpenFile(filePath); openHelpText.MdiParent = this; openHelpText.Show(); }