Example #1
0
        /// <summary>
        /// 结账买单
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void BtCheckTheCheck_Click(object sender, RoutedEventArgs e)
        {
            if (roomStages == null && roomStages.Count() == 0)
            {
                MessageBox.Show("请选中房台", "大海提示", MessageBoxButton.OKCancel, MessageBoxImage.Asterisk);
                return;
            }
            if (roomStages[0].State_RoomStage.Trim() != "已用")
            {
                MessageBox.Show("该房台未开台,请先开台消费后再结账", "大海提示", MessageBoxButton.OKCancel, MessageBoxImage.Asterisk);
                return;
            }
            List <RoomStage> rooms = roomStages;

            View.Windows.W_StatementLeave sL = new View.Windows.W_StatementLeave(rooms);
            sL.ShowDialog();
        }
Example #2
0
 /// <summary>
 /// 结账买单
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtPayment_Click(object sender, RoutedEventArgs e)
 {
     View.Windows.W_StatementLeave sL = new W_StatementLeave(DataMessage);
     sL.ShowDialog();
 }