Esempio n. 1
0
        private void pbtnAddOrder_Click(object sender, EventArgs e)
        {
            FormNewOrder frmNewOrder = new FormNewOrder();

            if (frmNewOrder.ShowDialog() == DialogResult.OK)
            {
                GetOrderInfo();
            }
        }
Esempio n. 2
0
        private void tsmCustomerOrder_Click(object sender, EventArgs e)
        {
            BasRoomModel mRoomNo = GetSelectRoomNo(GetSelectPBX(ptcts));

            if (mRoomNo != null)
            {
                FormNewOrder frmNewOrder = new FormNewOrder(mRoomNo);
                if (frmNewOrder.ShowDialog() == DialogResult.OK)
                {
                    ShowRoom(mRoomNo.FloorInfo.FloorId);
                }
            }
        }
Esempio n. 3
0
        private void pbtnEditOrder_Click(object sender, EventArgs e)
        {
            OrderInfoModel mOrder = GetSelectedOrder();

            if (mOrder != null)
            {
                if (mOrder.Status == 'I')
                {
                    cmn.Show("宾客已入住,不能编辑");
                    return;
                }
                FormNewOrder frmNewOrder = new FormNewOrder(mOrder);
                if (frmNewOrder.ShowDialog() == DialogResult.OK)
                {
                    GetOrderInfo();
                }
            }
        }
Esempio n. 4
0
 private void tsmCustomerOrder_Click(object sender, EventArgs e)
 {
     BasRoomModel mRoomNo = GetSelectRoomNo(GetSelectPBX(ptcts));
     if (mRoomNo != null)
     {
         FormNewOrder frmNewOrder = new FormNewOrder(mRoomNo);
         if (frmNewOrder.ShowDialog() == DialogResult.OK)
         {
             ShowRoom(mRoomNo.FloorInfo.FloorId);
         }
     }
 }
Esempio n. 5
0
 private void pbtnEditOrder_Click(object sender, EventArgs e)
 {
     OrderInfoModel mOrder = GetSelectedOrder();
     if (mOrder != null)
     {
         if (mOrder.Status == 'I')
         {
             cmn.Show("宾客已入住,不能编辑");
             return;
         }
         FormNewOrder frmNewOrder = new FormNewOrder(mOrder);
         if (frmNewOrder.ShowDialog() == DialogResult.OK)
         {
             GetOrderInfo();
         }
     }
 }
Esempio n. 6
0
 private void pbtnAddOrder_Click(object sender, EventArgs e)
 {
     FormNewOrder frmNewOrder = new FormNewOrder();
     if (frmNewOrder.ShowDialog() == DialogResult.OK)
     {
         GetOrderInfo();
     }
 }