Ejemplo n.º 1
0
        public FrmXtraInventoryItemDetail()
        {
            InitializeComponent();
            _inventoryItemPresenter = new InventoryItemPresenter(this);
            _departmentsPresenter   = new DepartmentsPresenter(this);
            _accountsPresenter      = new AccountsPresenter(this);

            _currenciesPresenter = new CurrenciesPresenter(this);

            #region load Tiền tệ



            //var table = new DataTable();
            //table.Columns.Add("CurrencyCode", typeof (string));
            //table.Rows.Add(CurrencyAccounting);
            //if (CurrencyAccounting != CurrencyLocal)
            //{
            //    table.Rows.Add(CurrencyLocal);
            //}
            //cboCurrencyCode.Properties.DataSource = table;
            //cboCurrencyCode.Properties.ValueMember = "CurrencyCode";
            //cboCurrencyCode.Properties.DisplayMember = "CurrencyCode";
            //cboCurrencyCode.Properties.ShowHeader = false;
            //cboCurrencyCode.Properties.ShowFooter = false;

            #endregion
        }
        public FrmOpeningSupplyEntries()
        {
            InitializeComponent();

            _openingSupplyEntriesPresenter = new OpeningSupplyEntriesPresenter(this);
            _departmentsPresenter          = new DepartmentsPresenter(this);
            _inventoryItemsPresenter       = new InventoryItemsPresenter(this);
            _currenciesPresenter           = new CurrenciesPresenter(this);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmS13H"/> class.
 /// </summary>
 public FrmS13H()
 {
     InitializeComponent();
     _currenciesPresenter = new CurrenciesPresenter(this);
     _accountsPresenter   = new AccountsPresenter(this);
     _banksPresenter      = new BanksPresenter(this);
     dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.Reduce;
     dateTimeRangeV1.InitSelectedIndex   = GlobalVariable.DateRangeSelectedIndex;
     lookUpEditCurrencyCode.EditValue    = @"<<Tất cả>>";
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref=""/> class.
 /// </summary>
 public FrmContractDetail()
 {
     InitializeComponent();
     _currenciesPresenter               = new CurrenciesPresenter(this);
     _ProjectsPresenter                 = new ProjectsPresenter(this);
     _accountingObjectsPresenter        = new AccountingObjectsPresenter(this);
     _budgetSourcesPresenter            = new BudgetSourcesPresenter(this);
     _ContractPresenter                 = new ContractPresenter(this);
     barManager1.AllowShowToolbarsPopup = false;
     barManager1.StatusBar.Visible      = false;
 }
        public FrmXtraAutoBusinessDetails()
        {
            InitializeComponent();

            _autoBusinessPresenter  = new AutoBusinessPresenter(this);
            _accountsPresenter      = new AccountsPresenter(this);
            _voucherTypesPresenter  = new VoucherTypesPresenter(this);
            _refTypesPresenter      = new RefTypesPresenter(this);
            _budgetSourcesPresenter = new BudgetSourcesPresenter(this);
            _budgetItemsPresenter   = new BudgetItemsPresenter(this);
            _currencyPresenter      = new CurrenciesPresenter(this);
        }
Ejemplo n.º 6
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.º 7
0
        /// <summary>
        /// The _report list
        /// </summary>


        /// <summary>
        /// Initializes a new instance of the <see cref="FrmXtraReportList"/> class.
        /// </summary>
        public FrmXtraExportXML()
        {
            InitializeComponent();

            _currenciesPresenter = new CurrenciesPresenter(this);

            _exportXmlPresenter = new ExportXmlPresenter(this);

            dtReportPeriod.DateRangePeriodMode = DateRangeMode.Reduce;

            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));
            Model = new Model();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserControlCurrencyList"/> class.
 /// </summary>
 public UserControlCurrencyList()
 {
     InitializeComponent();
     _currenciesPresenter = new CurrenciesPresenter(this);
 }
Ejemplo n.º 9
0
 public FrmCurrencies()
 {
     InitializeComponent();
     _currenciesPresenter = new CurrenciesPresenter(this);
 }