private GoodsSet() { InitializeComponent(); string selectUnit = "select code,name from unit where status=0 "; string selectType = "select code,name from type where status=0"; string selectSupplier = "select code,name from supplier where status=0"; SetUnable(); LoadUnit(CB_unit, selectUnit); LoadUnit(CB_type, selectType); LoadUnit(CB_supplier, selectSupplier); BaseMethod.LoadStop(this.CB_stop); LoadDGV_goods(); }