public ConditionProInDepotChooseForm()
        {
            InitializeComponent();
            this.newChooseWorkHouse.Choose    = new Settings.ProduceManager.Workhouselog.ChooseWorkHouse();
            this.newChooseContorlDepot.Choose = new Book.UI.Invoices.ChooseDepot();
            this.newChooseCustomer1.Choose    = new Settings.BasicData.Customs.ChooseCustoms();
            this.newChooseCustomer2.Choose    = new Settings.BasicData.Customs.ChooseCustoms();
            this.dateEdit1.DateTime           = DateTime.Now.Date.AddMonths(-1);
            this.dateEdit2.DateTime           = DateTime.Now.Date.AddDays(1).AddSeconds(-1);

            IList <string> listKeyWord = new BL.ProductClassifyManager().SelectAllKeyWord();

            foreach (var item in listKeyWord)
            {
                this.checkedComboBoxEdit1.Properties.Items.Add(item);
            }


            IList <string> bgHandbookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in bgHandbookIds)
            {
                this.ccb_BGHandBookIds.Properties.Items.Add(item);
            }
        }
Exemplo n.º 2
0
        public CountMaterialForm()
        {
            InitializeComponent();

            dicProduct = productManager.SelectProductIdAndName().ToDictionary(P1 => P1.ProductId, P2 => P2.ProductName);
            IList <string> handBookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in handBookIds)
            {
                this.cob_HandBookId.Properties.Items.Add(item);
            }
        }
Exemplo n.º 3
0
        public OutAndInDepotForExcelForm()
        {
            InitializeComponent();

            this.bindingSourceDepot.DataSource = new BL.DepotManager().Select();
            IList <string> handBookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in handBookIds)
            {
                this.cob_HandBookId.Properties.Items.Add(item);
            }
        }
Exemplo n.º 4
0
        public PendingAreaStock()
        {
            InitializeComponent();

            this.bindingSourceProductCategory.DataSource = new BL.ProductCategoryManager().Select();

            IList <string> handBookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in handBookIds)
            {
                this.cob_HandBookId.Properties.Items.Add(item);
            }
        }
Exemplo n.º 5
0
        public ConditionForList()
        {
            InitializeComponent();

            this.ncc_Workhouse.Choose = new Settings.ProduceManager.Workhouselog.ChooseWorkHouse();

            IList <string> handBookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in handBookIds)
            {
                this.cob_HandBook.Properties.Items.Add(item);
            }
        }
Exemplo n.º 6
0
        public BGProductOutDetail()
        {
            InitializeComponent();

            this.date_Start.EditValue = DateTime.Now.AddMonths(-1);
            this.date_End.EditValue   = DateTime.Now;

            IList <string> bgHandbookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in bgHandbookIds)
            {
                this.ccb_bgHandBook.Properties.Items.Add(item);
            }
        }
        public ConditionPronoteHeaderChooseForm()
        {
            InitializeComponent();

            this.newChooseCustomer.Choose = new Settings.BasicData.Customs.ChooseCustoms();

            IList <string> bgHandbookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in bgHandbookIds)
            {
                this.ccb_BGHandBookIds.Properties.Items.Add(item);
            }

            this.coBoxSourceType.SelectedIndex = 0;
        }
Exemplo n.º 8
0
        public Q15JiShiShouCeForm()
        {
            InitializeComponent();
            this.bindingSourceDepot.DataSource           = (new BL.DepotManager()).Select();
            this.bindingSourceProductCategory.DataSource = (new BL.ProductCategoryManager()).Select();
            this.dateEdit1.DateTime = DateTime.Now.Date;

            IList <string> handBookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in handBookIds)
            {
                this.cob_HandBookId.Properties.Items.Add(item);
            }

            this.StartPosition = FormStartPosition.CenterScreen;
        }
Exemplo n.º 9
0
        public ConditionXChooseForm()
        {
            InitializeComponent();
            this.newChooseCustomer.Choose   = new Settings.BasicData.Customs.ChooseCustoms();
            this.newChooseCustomer2.Choose  = new Settings.BasicData.Customs.ChooseCustoms();
            this.newChooseEmp1.Choose       = new Settings.BasicData.Employees.ChooseEmployee();
            this.newChooseEmp2.Choose       = new Settings.BasicData.Employees.ChooseEmployee();
            this.dateEditStartDate.DateTime = DateTime.Now.Date.AddMonths(-1);
            this.dateEditEndDate.DateTime   = DateTime.Now.Date.AddDays(1).AddSeconds(-1);

            this.bindingSourceDepot.DataSource = new BL.DepotManager().Select();
            IList <string> handBookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in handBookIds)
            {
                this.cob_HandBookId.Properties.Items.Add(item);
            }
        }
        public ConditionMaterialChooseForm()
        {
            InitializeComponent();

            this.newChooseWorkHouse.Choose = new Settings.ProduceManager.Workhouselog.ChooseWorkHouse();

            //this.bindingSourcePronoteHeader.DataSource = new BL.PronoteHeaderManager().Select();
            //this.bindingSourceProduceMaterialID.DataSource = new BL.ProduceMaterialManager().Select();
            this.dateEditStartDate.DateTime = DateTime.Now.Date.AddDays(-15);
            this.dateEditEndDate.DateTime   = DateTime.Now.Date.AddDays(1).AddSeconds(-1);


            IList <string> handBookIds = new BL.BGHandbookManager().SelectAllId();

            foreach (var item in handBookIds)
            {
                this.cob_HandBookId.Properties.Items.Add(item);
            }
        }