Closed Thread
Results 1 to 3 of 3

Thread: combo box

  1. #1
    Shakmun Guest

    combo box

    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

  2. CODECALL Circuit advertisement

     
  3. #2
    Nightracer's Avatar
    Nightracer is offline Programmer
    Join Date
    Jun 2006
    Posts
    131
    Rep Power
    0
    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.

  4. #3
    Shakmun Guest

    i give money to anyone who help me out with this!

    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.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help in combo box
    By Shiny_ashish in forum C# Programming
    Replies: 3
    Last Post: 10-31-2010, 12:01 PM
  2. Validating a combo box
    By standard in forum Pascal and Delphi
    Replies: 1
    Last Post: 05-03-2010, 01:31 PM
  3. Selecting Via Combo Box
    By Bioshox in forum PHP Development
    Replies: 1
    Last Post: 02-18-2010, 01:49 AM
  4. * * * Combo Box selection * * *
    By gsm-tools in forum Visual Basic Programming
    Replies: 1
    Last Post: 12-03-2008, 12:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts