Ejemplo n.º 1
0
        private void 购票ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            BuyTicket form = new BuyTicket();

            form.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void buyTicketButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            BuyTicket form = new BuyTicket();

            form.Show();
            this.Close();
        }
Ejemplo n.º 3
0
        private void InsertData_UserControlBtnClicked(object sender, EventArgs e)
        {
            List <string> selectItem = UserControl1.selectedTicket;

            if (PublicMethod.loginFlag != 0)//如果用户已经登录,则可以订票
            {
                this.Hide();
                BuyTicket form = new BuyTicket();
                form.Show();
                this.Close();
            }
            else
            {
                MessageBox.Show("请先进行登录方可进行订票操作!", "信息提示");
            }
        }