Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmCreateNewDatabase" /> class.
 /// </summary>
 public FrmConvertDatabase()
 {
     InitializeComponent();
     _dbOptionsPresenter = new DBOptionsPresenter(this);
     //_currencyPresenter = new CurrencyPresenter(this);
     //_accountPresenter = new AccountPresenter(this);
 }
 /// <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);
 }
Example #3
0
        public FrmUnlockBook()
        {
            InitializeComponent();
            _dbOptionsPresenter                = new DBOptionsPresenter(this);
            _audittingLogsPresenter            = new AudittingLogsPresenter(this);
            _audittingLogPresenter             = new AudittingLogPresenter(this);
            dtReportPeriod.DateRangePeriodMode = DateRangeMode.Reduce;
            //dtReportPeriod.InitSelectedIndex = GlobalVariable.DateRangeSelectedIndex;
            dtReportPeriod.InitSelectedIndex = 0;
            var basePostedDate = DateTime.ParseExact(GlobalVariable.PostedDate, "dd/MM/yyyy", CultureInfo.InvariantCulture);

            dtReportPeriod.InitData(new DateTime(basePostedDate.Year, 1, 1));
            dtReportPeriod.FromDate = (new DateTime(basePostedDate.Year, 1, 1));
            dtReportPeriod.ToDate   = (new DateTime(basePostedDate.Year, 12, 31));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmXtraPostedDate"/> class.
 /// </summary>
 public FrmXtraPostedDate()
 {
     InitializeComponent();
     _dbOptionsPresenter = new DBOptionsPresenter(this);
     _globalVariable     = new GlobalVariable();
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmXtraDbInfo" /> class.
 /// </summary>
 public FrmXtraDbInfo()
 {
     InitializeComponent();
     _dbOptionsPresenter = new DBOptionsPresenter(this);
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlobalVariable" /> class.
 /// </summary>
 public GlobalVariable()
 {
     _dbOptionsPresenter = new DBOptionsPresenter(this);
     _dbOptionsPresenter.Display();
 }
Example #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DBOptionHelper"/> class.
 /// </summary>
 public DBOptionHelper()
 {
     _dbOptionsPresenter = new DBOptionsPresenter(this);
     _dbOptionsPresenter.Display();
 }