예제 #1
0
 public RegAC()
 {
     InitializeComponent();
     Loaded += RegAC_Loaded;
     UICardAccountForm.CollapsedAdminEdition();
     UIFindAB.Finded = Finded;
 }
예제 #2
0
        public void CollapsedCreate()
        {
            UIFindCardAccount.Visibility = Visibility.Collapsed;;
            UICardAccountForm.CollapsedAdminEdition();

            UIEditBt.Visibility = Visibility.Collapsed;
            UIButtonRemoveCardAccount.Visibility = Visibility.Collapsed;
        }
예제 #3
0
        private void UIButtonRemoveCardAccount_Click(object sender, RoutedEventArgs e)
        {
            OpOp.RemoveCardAccount.IdCardAccount = UIFindCardAccount.IdCardAccount;

            if (OpOp.RemoveCardAccount.Execute())
            {
                UICardAccountForm.ClearUI();
            }
            UIMessage.TextMessage = OpOp.RemoveCardAccount.Information;
        }
예제 #4
0
        private void UIButtonAddCardAccount_Click(object sender, RoutedEventArgs e)
        {
            OpOp.RegistrationCardAccount.CardAccountName   = UICardAccountForm.Namee;
            OpOp.RegistrationCardAccount.CardAccountStatus = OpOp.DataSource.CardStatusUnLocked;
            OpOp.RegistrationCardAccount.CardType          = UICardAccountForm.Type;
            OpOp.RegistrationCardAccount.ExpiredDate       = UICardAccountForm.ExpiredDate;
            OpOp.RegistrationCardAccount.IdBankAccount     = UIFindBankAccount.IdBankAccount;

            if (OpOp.RegistrationCardAccount.Execute())
            {
                UICardAccountForm.ClearUI();
            }
            UIMessage.TextMessage = OpOp.RegistrationCardAccount.Information;
        }
예제 #5
0
        private void UIEditBt_Click(object sender, RoutedEventArgs e)
        {
            OpOp.EditCardAccount.CardAccountName   = UICardAccountForm.Namee;
            OpOp.EditCardAccount.CardAccountNumber = UICardAccountForm.Number;
            OpOp.EditCardAccount.CardAccountStatus = UICardAccountForm.Status;
            OpOp.EditCardAccount.CardType          = UICardAccountForm.Type;
            OpOp.EditCardAccount.ExpiredDate       = UICardAccountForm.ExpiredDate;
            OpOp.EditCardAccount.IdBankAccount     = UIFindBankAccount.IdBankAccount;
            OpOp.EditCardAccount.IdCardAccount     = UIFindCardAccount.IdCardAccount;
            OpOp.EditCardAccount.IdClient          = UIFindClient.IdClient;
            OpOp.EditCardAccount.IsLocked          = UICardAccountForm.IsLock;

            if (OpOp.EditCardAccount.Execute())
            {
                UICardAccountForm.ClearUI();
            }
            UIMessage.TextMessage = OpOp.EditCardAccount.Information;
        }
예제 #6
0
 public void ClearUI()
 {
     UICardAccountForm.ClearUI();
     ClearUIThis();
 }