Пример #1
0
 public FrmB14Q()
 {
     InitializeComponent();
     _dbOptionHelper    = new GlobalVariable();
     _stocksPresenter   = new StocksPresenter(this);
     _accountsPresenter = new AccountsPresenter(this);
     dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.Reduce;
     dateTimeRangeV1.InitSelectedIndex   = GlobalVariable.DateRangeSelectedIndex;
 }
        public FrmBUTransferPurchases()
        {
            InitializeComponent();
            _stocksPresenter        = new StocksPresenter(this);
            _nventoryItemsPresenter = new InventoryItemsPresenter(this);
            _bUTransfersPresenter   = new BUTransfersPresenter(this);

            _model = new Model.Model();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmXtraOpeningInventoryEntryDetail" /> class.
 /// </summary>
 public FrmXtraOpeningInventoryEntryDetail()
 {
     InitializeComponent();
     //  _openingInventoryEntryPresenter = new OpeningInventoryEntryPresenter(this);
     _accountsPresenter                = new AccountsPresenter(this);
     _inventoryItemsPresenter          = new InventoryItemsPresenter(this);
     _stocksPresenter                  = new StocksPresenter(this);
     _openingInventoryEntriesPresenter = new OpeningInventoryEntriesPresenter(this);
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="FrmInventoryItemDetail" /> class.
 /// </summary>
 public FrmInventoryItemDetail()
 {
     InitializeComponent();
     _inventoryItemPresenter           = new InventoryItemPresenter(this);
     _stocksPresenter                  = new StocksPresenter(this);
     _accountsPresenter                = new AccountsPresenter(this);
     _inventoryItemCategoriesPresenter = new InventoryItemCategoriesPresenter(this);
     _accountingObjectsPresenters      = new AccountingObjectsPresenter(this);
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="FrmXtraReCalOutputInventory"/> class.
        /// </summary>
        public FrmXtraReCalOutputInventory()
        {
            InitializeComponent();
            _dbOptionHelper  = new GlobalVariable();
            _stocksPresenter = new StocksPresenter(this);
            _reCalOutputInventoryPresenter = new ReCalOutputInventoryPresenter(this);

            dateTimeRangeV1.DateRangePeriodMode = DateRangeMode.MonthAndQuarter;
            dateTimeRangeV1.InitSelectedIndex   = 0;
            dateTimeRangeV1.InitData(DateTime.Parse(new GlobalVariable().PostedDate));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmS22H" /> class.
 /// </summary>
 public FrmS21H(bool isVisibleAccount, bool isVisibleStock)
 {
     InitializeComponent();
     _accountsPresenter = new AccountsPresenter(this);
     _inventoryItemCategoriesPresenter = new InventoryItemCategoriesPresenter(this);
     _stocksPresenter         = new StocksPresenter(this);
     _inventoryItemsPresenter = new InventoryItemsPresenter(this);
     //this.cboAccountNumber.Visible = isVisibleAccount;
     //this.labelControl1.Visible = isVisibleAccount;
     this.labelControl5.Visible = isVisibleStock;
     this.cboStock.Visible      = isVisibleStock;
     IsVisibleAccount           = isVisibleAccount;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmStocks"/> class.
 /// </summary>
 public FrmStocks()
 {
     InitializeComponent();
     _stocksPresenter = new StocksPresenter(this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserControlStockList"/> class.
 /// </summary>
 public UserControlStockList()
 {
     InitializeComponent();
     _stocksPresenter = new StocksPresenter(this);
 }