i'm really new here and the reason i registered is that i really really need
some help with my project. I need to know how to code a to display the
corresponding models(of a car) each time I change the make. I want to
program the SelectedIndexChanged event of the MakeComboxBox,but stil I dont
know how to do it! I'm using VB.net
thanks
I'm not sure what you are asking. You want a combo box filled with models of a car, correct? What do you want to do with the SelectedIndexChanged? I don't understand that part.
in my interface i have a combobox of cars' make(Ford,Honda,GMC,Toyota and Nissan) and another combobox of models(Ford:taurus,escort,escape,focus; Honda:accord,civic,odessey,passport; GMC:envoy,safari,savanna,sonoma; Toyota:camry,avalon,celica,corrolla; Nissan:altima,frontier,maxima,sentra),now i wanna be able to display the models of each car anytime i click on a make. If it is still not clear,i have the assignement below!
I give money to anybody who help me out!
Requirements:
1. User can check at least five brands of auto, each of which should has at least four models. For example:
Ford: Escape, Escort, Focus, Taurus
GMC: Envoy, Safari, Savana, Sonoma
Honda: Accord, Civic, Odyssey, Passport
Nissan: Altima, Frontier, Maxima, Sentra
Toyota: Avalon, Camry, Celica, Corolla
2. The user can select at least twenty years of the autos and can see the basic price for the selected auto brand and model in different years. If the user selects the year before 2006, then the basic price of the auto is changed by Eq. (1).
3. The user can also select at least four options for the auto, such as: automatic 4-speed transmission, AM/FM/CD changer audio system, leather seats, antilock brakes, etc. The price of the selected auto is modified by these options. For example, if the basic price for an auto is $18,000 and the leather seats cost $300, then the final price of the auto will be $18,300 if it has the leather seats.
4. The user can input the mileage in the interface. The price of the selected auto is modified by Eq. (1).
FinalPrice = [0.5*exp(-0.3*(2006-YearOfMade))+0.5*exp(-0.3*CurMile/10000)]* InitialPrice + OptionPrice (1)
In Eq. (1), “FinalPrice” is the price for the selected auto. “YearOfMade” means the year user selected from the interface for the auto. “CurMile” means current mileage of the selected auto. The “InitialPrice” is the default price for the selected brand and model in 2006. The “OptionPrice” is determined by the user selections on the auto options.
Note:
1. The basic price of each brand and model of auto, and the options of the auto can be set by yourself or according to the reference webs.
2. The controls “CheckBox” and “ComboBox” should be in the interface to enable user to select different options, brands and models of the auto.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks