private void 计划任务ToolStripMenuItem_Click(object sender, EventArgs e) { NewMain.Nform.logClass.write("执行计划任务函数"); Form Timechange = new Timechange(); ToolStripMenuItem menu = sender as ToolStripMenuItem; Add_TabPage(menu.Text, Timechange); }
private void configbutton_Click(object sender, EventArgs e) { Form timechange = new Timechange(); timechange.Show(); }