Example #1
0
 private void ConfirmButton_Click(object sender, RoutedEventArgs e)
 {
     if (_billIdLen > 6 && _billIdLen <= 13)
     {
         TransactionInfo.BillRequest.BillId = BillIdBox.Text;
         TransactionInfo.GoToPage(Pages.ConfirmPaymentPage);
     }
     else
     {
         LabelMessage.Content = "شناسه قبض وارد شده صحیح نمی باشد";
         BillIdBox.Focus();
     }
 }
Example #2
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     BillIdBox.Focus();
 }