private void 但体积查询ToolStripMenuItem_Click(object sender, EventArgs e) { NewMain.Nform.logClass.write("执行体积查询函数"); Form form = new SingleVolume(); ToolStripMenuItem menu = sender as ToolStripMenuItem; Add_TabPage(menu.Text, form); }
private void button4_Click(object sender, EventArgs e) { Form Singlevolume = new SingleVolume(); Singlevolume.ShowDialog(); }