예제 #1
0
        //Finish inventory in PopUP
        private void FinalIn_Click(object sender, RoutedEventArgs e)
        {
            InventoryDock.IsEnabled     = false;
            InventoryFinishPopUp.IsOpen = true;

            PaymentType.Focus();
        }
예제 #2
0
        private void SetFinishBillContent()
        {
            PaymentType.SelectedIndex = 0;

            PaymentType.IsEnabled = CLientCredit;

            PaymentMethodCB.SelectedIndex = 0;
            PaymentTX.Number            = 0;
            BillDatePicker.SelectedDate = DateTime.Now.AddDays(30);

            CommentTX.Clear();
            if (PaymentType.IsEnabled)
            {
                PaymentType.Focus();
            }
            else
            {
                PaymentTX.Focus();
            }
        }