Exemplo n.º 1
0
        private void lbOrder_Click(object sender, EventArgs e)
        {
            if (tabName != "")
            {
                if (ValidLB((Label)sender))
                {

                    FormOrder fo = new FormOrder(tabName);
                    fo.ShowDialog();
                }
            }
            else
            {
                MessageBox.Show("请选择需要点菜的餐桌");
            }
        }
Exemplo n.º 2
0
 private void lbOpenOrder_Click(object sender, EventArgs e)
 {
     OpenTab();
     this.DialogResult = System.Windows.Forms.DialogResult.OK;
     FormOrder fr = new FormOrder(tabName);
     fr.ShowDialog();
 }