Esempio n. 1
0
        private void 列车信息查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            QueryForm form = new QueryForm();

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

            queryForm.Show();                      //打开查询窗体
        }