//Finish inventory in PopUP private void FinalIn_Click(object sender, RoutedEventArgs e) { InventoryDock.IsEnabled = false; InventoryFinishPopUp.IsOpen = true; PaymentType.Focus(); }
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(); } }