Exemple #1
0
 private void frmSale_Load(object sender, EventArgs e)
 {
     timer1.Start();
     Library.DataBinderTools.Bound.BoundCategory(lue_Category, false);
     bll                  = new bllSO();
     bllpi                = new bllProductInventory();
     EditData             = bll.DoGetDocData("");
     gcSummary.DataSource = EditData.Tables[tb_SODetail._TableName];
 }
Exemple #2
0
 public ucProductList()
 {
     InitializeComponent();
     this.gv_Detail_tb_PODetail.OptionsFind.FindFilterColumns = "BarCode;ItemNo;ItemName";
     if (Common.CheckDesingModel.IsDesingMode)
     {
         return;
     }
     bll = new bllProductInventory();
     treeProductCategory.FocusedNodeChanged += TreeProductCategory_FocusedNodeChanged;
     gv_Detail_tb_PODetail.CellMerge        += Gv_Detail_tb_PODetail_CellMerge;
     LoadProductCategory();
     Library.DataBinderTools.Bound.BoundCategory(lue_Category, false);
 }
Exemple #3
0
 public frmDialogProducQty(DataTable dtsource)
 {
     InitializeComponent();
     this.gv_Detail_tb_PODetail.OptionsFind.FindFilterColumns = "BarCode;ItemNo;ItemName";
     bll = new bllProductInventory();
     gv_Detail_tb_PODetail.CellMerge += Gv_Detail_tb_PODetail_CellMerge;
     LoadProductCategory();
     Library.DataBinderTools.Bound.BoundCategory(lue_Category, false);
     this.chk_AllowMerge.CheckedChanged     += Chk_AllowMerge_CheckedChanged;
     txt_Search.EditValueChanged            += Txt_Search_EditValueChanged;
     this.gv_Detail_tb_PODetail.DoubleClick += Gv_Detail_tb_PODetail_DoubleClick;
     this.Load += FrmDialogProducQty_Load;
     if (dtsource == null)
     {
         refreshDataSource();
     }
     else
     {
         gc_Detail_tb_PODetail.DataSource = dtsource;
         gv_Detail_tb_PODetail.ExpandAllGroups();
     }
 }