Ejemplo n.º 1
0
 public StorageMainView()
 {
     InitializeComponent();
     stockManaView   = new StockManaView("库存列表");
     storageView     = new StorageView("货位看板");
     stockOperteView = new StockOperateView("操作记录");
     ViewList.Add(stockManaView);
     ViewList.Add(storageView);
     ViewList.Add(stockOperteView);
     this.batchSetControl = new OutBatchSetView();
 }
Ejemplo n.º 2
0
        public StorageMainView()
        {
            string dbSrc = ConfigurationManager.AppSettings["DBSource"];

            AsrsStorDBAcc.DbHelperSQL.SetConnstr(string.Format(@"{0}Initial Catalog=JKWMSDB;User ID=sa;Password=123456;", dbSrc));
            InitializeComponent();
            stockManaView   = new StockManaView("库存列表");
            storageView     = new StorageView("货位看板");
            stockOperteView = new StockOperateView("操作记录");
            ViewList.Add(stockManaView);
            ViewList.Add(storageView);
            ViewList.Add(stockOperteView);
            this.batchSetControl = new OutBatchSetView();
        }