Esempio n. 1
0
 public FrmXtraEmployeeDetail()
 {
     InitializeComponent();
     _dbOptionHelper       = new GlobalVariable();
     _departmentsPresenter = new DepartmentsPresenter(this);
     _employeePresenter    = new EmployeePresenter(this);
     _payItemsPresenter    = new PayItemsPresenter(this);
     _globalVariable       = new GlobalVariable();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmCreateNewDatabase" /> class.
 /// </summary>
 public FrmCreateNewDatabase()
 {
     InitializeComponent();
     _dbOptionsPresenter      = new DBOptionsPresenter(this);
     _currencyPresenter       = new CurrencyPresenter(this);
     _accountPresenter        = new AccountPresenter(this);
     _payItemsPresenter       = new PayItemsPresenter(this);
     _payItemPresenter        = new PayItemPresenter(this);
     _autoBusinessPresenter   = new AutoBusinessPresenter(this);
     _autoBusinessesPresenter = new AutoBusinessesPresenter(this);
 }
Esempio n. 3
0
 public UserControlPayItemList()
 {
     InitializeComponent();
     _payItemPresenter      = new PayItemsPresenter(this);
     RePaymentType          = new RepositoryItemGridLookUpEdit();
     ReCalculateRatio       = new RepositoryItemGridLookUpEdit();
     this.PaymentTypes      = this.PaymentTypes;
     this.GetCalculateRatio = this.GetCalculateRatio;
     // hide button
     VisibleButtonAddNew = false;
     VisibleButtonDelete = false;
 }