Esempio n. 1
0
        private bool enableSave   = false; //保存

        public FrmOtherInStore()
        {
            InitializeComponent();
            this.mdgrdv.AutoGenerateColumns = false;
            this.accNotes = new JERPData.Product.StoreNotesOther();
            this.SetPermit();
        }
Esempio n. 2
0
        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);
        }