Charles

Charles

  • NA
  • 14
  • 0

TreeView C#

Mar 11 2010 2:00 PM
Hi

I need help completing the last part of this program. I have one textbox, one combobox and 1 treeview with checkboxes.  Now here is what I want to do.

The comboBox has a list of food items, and the textbox allows the users to enter in the quantity of the items.

In the treeview the user selects the correct product category and product, for example Fruit (parent node) >>> Apple (child node).

Provided that the text selected in the combobox matches the selection, so if the user selects Apple in the combobox and Fruit (parent node) >>> Apple (child node) is checked the quantity should appear next to it.

If the quantity textbox is empty 1 should automactically appear next to the selected item, otherwise whatever was placed into the quantity textbox should appear. The user is also allowed to switch the quantity as well, provided that they select the proper product in the comboxbox and category.

Attachment: OrderForm v4.zip

Answers (12)