public frmTransaction(FrmTransactionViewModel frmTransactionViewModel, int accountId)
 {
     _accountId = accountId;
     _frmTransactionViewModel = frmTransactionViewModel;
     InitializeComponent();
     Init();
 }
        public frmTransaction(FrmTransactionViewModel frmTransactionViewModel, string transactionType, int accountId)
        {
            _accountId = accountId;
            _frmTransactionViewModel = frmTransactionViewModel;

            if (transactionType == "deposit")
            {
                _frmTransactionViewModel.IsDeposit = true;
            }
            else
            {
                _frmTransactionViewModel.IsWithdrawal = true;
            }

            InitializeComponent();
            InitForDepositAndWithdrawal();
        }