Ejemplo n.º 1
0
        public UCPurchasePlanOrderView2(string plan_id, UCPurchasePlanOrderManagView uc)
        {
            InitializeComponent();
            this.uc     = uc;
            this.planId = plan_id;

            base.SetBaseButtonStatus();
            base.SetButtonVisiableView();
            base.btnSave.Visible = true;
            //CommonFuncCall.BindUnit(unit_id);
            LoadInfo(plan_id);
            GetAccessories(plan_id);
            txtsuspend_reason.Enabled = chkis_suspend.Checked;
            string[] NotReadOnlyColumnsName = new string[] { "colCheck", "is_suspend" };
            CommonFuncCall.SetColumnReadOnly(gvPurchasePlanList, NotReadOnlyColumnsName);
            base.SaveEvent += new ClickHandler(UCPurchasePlanOrderView_SaveEvent);
        }
        public UCPurchasePlanOrderView2(string plan_id, UCPurchasePlanOrderManagView uc)
        {
            InitializeComponent();
            this.uc = uc;
            this.planId = plan_id;

            base.SetBaseButtonStatus();
            base.SetButtonVisiableView();
            base.btnSave.Visible = true;
            //CommonFuncCall.BindUnit(unit_id);
            LoadInfo(plan_id);
            GetAccessories(plan_id);
            txtsuspend_reason.Enabled = chkis_suspend.Checked;
            string[] NotReadOnlyColumnsName = new string[] { "colCheck", "is_suspend" };
            CommonFuncCall.SetColumnReadOnly(gvPurchasePlanList, NotReadOnlyColumnsName);
            base.SaveEvent += new ClickHandler(UCPurchasePlanOrderView_SaveEvent);
        }