private void 列车信息查询ToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); QueryForm form = new QueryForm(); form.Show(); }
private void 列车信息查询ToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); //隐藏当前窗体 QueryForm queryForm = new QueryForm(); //新建查询窗体对象 queryForm.Show(); //打开查询窗体 }