예제 #1
0
 private void frmHomePage_Load(object sender, EventArgs e)
 {
     generalMethod.SetBrandData(lkpCarBrand);
     generalMethod.SetGeneralInfo(lkpCurrency, "3");
     generalMethod.SetYears(lkpProductYearBegin);
     generalMethod.SetYears(lkpProductYearEnd);
     generalMethod.SetGeneralInfo(lkpCities, "7");
     GetSearch();
 }
예제 #2
0
        private void frmAddCars_Load(object sender, EventArgs e)
        {
            generalMethod.SetBrandData(lkpCarBrand);

            generalMethod.SetGeneralInfo(lkpCarType, "1");
            generalMethod.SetGeneralInfo(lkpColor, "2");
            generalMethod.SetGeneralInfo(lkpFuel, "4");
            generalMethod.SetGeneralInfo(lkpGear, "5");
            generalMethod.SetGeneralInfo(lkpGearBox, "6");
            generalMethod.SetGeneralInfo(lkpCities, "7");
            generalMethod.SetGeneralInfo(lkpCapacity, "8");
            generalMethod.SetYears(lkpProductYear);
            gridCntrlImages.DataSource = clssInfoAdapter.GetImage("-1");
        }