Esempio n. 1
0
        private void btnCome_Click(object sender, EventArgs e)
        {
            顾客选桌并点菜Form cusComeForm = new 顾客选桌并点菜Form();

            cusComeForm.nowOrderDishCustomerID   = Ctellphone;
            cusComeForm.nowOrderDishCustomerName = Cname;
            cusComeForm.Show();
        }
        private void btn光顾_Click(object sender, EventArgs e)
        {
            if (cusMsgDataView.SelectedRows.Count < 1)
            {
                MessageBox.Show("请选择要删除的顾客!", "操作提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }

            顾客选桌并点菜Form cusComeForm = new 顾客选桌并点菜Form();

            cusComeForm.nowOrderDishCustomerID   = cusMsgDataView.SelectedRows[0].Cells[0].Value.ToString();
            cusComeForm.nowOrderDishCustomerName = cusMsgDataView.SelectedRows[0].Cells[1].Value.ToString();
            cusComeForm.Show();
        }