public FrmAccountDetail()
 {
     InitializeComponent();
     _accountsPresenter        = new AccountsPresenter(this);
     _accountPresenter         = new AccountPresenter(this);
     _accountCategoryPresenter = new AccountCategoriesPresenter(this);
     if (ActionMode == ActionModeEnum.AddNew)
     {
         this.chkIsActive.Checked = true;
     }
 }
Esempio n. 2
0
 public FrmXtraAccountDetail()
 {
     InitializeComponent();
     cboCurrencyCode.Visible     = false;
     _accountPresenter           = new AccountPresenter(this);
     _accountsPresenter          = new AccountsPresenter(this);
     _accountCategoriesPresenter = new AccountCategoriesPresenter(this);
     _banksPresenter             = new BanksPresenter(this);
     _globalVariable             = new GlobalVariable();
     _dbOptionHelper             = new GlobalVariable();
     CurrencyAccounting          = _dbOptionHelper.CurrencyAccounting;
     CurrencyLocal = _dbOptionHelper.CurrencyLocal;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmXtraAccountCategoryDetail"/> class.
 /// </summary>
 public FrmXtraAccountCategoryDetail()
 {
     InitializeComponent();
     _accountCategoryPresenter   = new AccountCategoryPresenter(this);
     _accountCategoriesPresenter = new AccountCategoriesPresenter(this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserControlAccountCategoryList"/> class.
 /// </summary>
 public UserControlAccountCategoryList()
 {
     InitializeComponent();
     _accountCategoriesPresenter = new AccountCategoriesPresenter(this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmAccountingCategories"/> class.
 /// </summary>
 public FrmAccountingCategories()
 {
     InitializeComponent();
     InitRepositoryControlData();
     _accountCategoriesPresenter = new AccountCategoriesPresenter(this);
 }