public Form_VersionManage() { InitializeComponent(); Mark = false; CarSummery_Client = (CarSummeryClient)ClientFactory.GetClient(ClientType.Type.CarSummery); Province_Client = (ProvinceClient)ClientFactory.GetClient(ClientType.Type.Province); City_Client = (CityClient)ClientFactory.GetClient(ClientType.Type.City); Shop_Client = (ShopClient)ClientFactory.GetClient(ClientType.Type.Shop); Brand_Client = (BrandClient)ClientFactory.GetClient(ClientType.Type.Brand); Type_Client = (TypeClient)ClientFactory.GetClient(ClientType.Type.Type); Version_Client = (VersionClient)ClientFactory.GetClient(ClientType.Type.Version); List_VersionInfo = CarSummery_Client.SelectAllCar().ToList(); List_Car_Province = Province_Client.SelectAllProvinces().ToList(); List_City = City_Client.SelectAllCitys().ToList(); List_Shop = Shop_Client.SelectAllShops().ToList(); List_Brand = Brand_Client.SelectAllBrands().ToList(); List_Type = Type_Client.SelectAllTypes().ToList(); CB_ProviceBind(); CB_BrandBind(); CB_TypeBind(); BT_UpdateVersion.Visible = false; }