Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseTreeListUserControl"/> class.
 /// </summary>
 public BaseTreeListUserControl()
 {
     InitializeComponent();
     _reportListPresenter   = new ReportListPresenter(this);
     _audittingLogPresenter = new AudittingLogPresenter(this);
     _lockPresenter         = new LockPresenter(this);
 }
Ejemplo n.º 2
0
 public FrmVoucherReports(object dataSource)
 {
     InitializeComponent();
     DataSource           = dataSource;
     _reportListPresenter = new ReportListPresenter(this);
     _reportHelper        = new ReportHelper();
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="BaseListUserControl" /> class.
        /// </summary>
        public BaseListUserControl()
        {
            InitializeComponent();
            _reportListPresenter   = new ReportListPresenter(this);
            _audittingLogPresenter = new AudittingLogPresenter(this);

            VisibleButtonAddNew = true;
            VisibleButtonEdit   = true;
            VisibleButtonDelete = true;
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmXtraReportList"/> class.
 /// </summary>
 public FrmXtraReportList()
 {
     InitializeComponent();
     _reportGroupPresenter = new ReportGroupPresenter(this);
     _reportListPresenter  = new ReportListPresenter(this);
     _reportHelper         = new ReportHelper();
     CommonVariable        = new GlobalVariable();
     dateTimeRangeV.DateRangePeriodMode = DateRangeMode.Reduce;
     dateTimeRangeV.InitSelectedIndex   = 0;
     dateTimeRangeV.InitData(DateTime.Parse(CommonVariable.PostedDate));
 }
Ejemplo n.º 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FrmXtraReportList"/> class.
        /// </summary>
        public FrmXtraReportList()
        {
            InitializeComponent();
            _reportGroupPresenter = new ReportGroupPresenter(this);
            _reportListPresenter  = new ReportListPresenter(this);
            _reportHelper         = new ReportHelper();
            _currenciesPresenter  = new CurrenciesPresenter(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));
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmC30BB"/> class.
 /// </summary>
 public FrmC30BB2()
 {
     InitializeComponent();
     _reportListPresenter = new ReportListPresenter(this);
     _c30BBPresenter      = new C30BBPresenter(this);
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmVoucherReports"/> class.
 /// </summary>
 public FrmVoucherReports()
 {
     InitializeComponent();
     _reportListPresenter = new ReportListPresenter(this);
     _reportHelper        = new ReportHelper();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmBaseList" /> class.
 /// </summary>
 public FrmBaseList()
 {
     InitializeComponent();
     _reportListPresenter   = new ReportListPresenter(this);
     _audittingLogPresenter = new AudittingLogPresenter(this);
 }