public FrmBranchStore() { InitializeComponent(); this.accBranchStore = new JERPData.Material.BranchStore(); this.dgrdv.AutoGenerateColumns = false; this.SetPermit(); }
public FrmOtherInStoreOper() { InitializeComponent(); this.accNotes = new JERPData.Product.StoreNotesOther(); this.accItems = new JERPData.Product.StoreItemsOther(); this.mdgrdv.AutoGenerateColumns = false; this.accMtrStore = new JERPData.Material.Store(); this.PrintHelper = new JERPBiz.OtherRes.BuyReturnNotePrintHelper(); this.accBranchStore = new JERPData.Material.BranchStore(); this.SetColumnSrc(); //this.dgrdv.CellValueChanged += new DataGridViewCellEventHandler(dgrdv_CellValueChanged); //this.dgrdv.CellContextMenuStripNeeded += new DataGridViewCellContextMenuStripNeededEventHandler(dgrdv_CellContextMenuStripNeeded); this.btnSave.Click += new EventHandler(btnSave_Click); this.btnNew.Click += new EventHandler(btnNew_Click); this.btnPrd.Click += new EventHandler(btnPrd_Click); }