2 Replies - 312 Views - Last Post: 17 February 2013 - 07:07 AM Rate Topic: -----

#1 Dan_man  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 12
  • Joined: 11-September 12

Question about populating ComboBoxes

Posted 16 February 2013 - 07:41 PM

I have a question about how to populate comboboxes within one form from values from another form. In my case I have an "addOrderForm" with comboboxes(customers and products) that should be populated with all the customers and products from the parent forms data manager. I understand what i need to do, but I can't quiet get there C# is not very forgiving with regards of guessing where to put a piece of code. I've been researching some methods and I understand items.add would be a good place to start. Sorry about the thinking aloud. Thanks for anyones help!

Spoiler

This post has been edited by tlhIn`toq: 17 February 2013 - 07:37 AM
Reason for edit:: fixed last code tag


Is This A Good Question/Topic? 0
  • +

Replies To: Question about populating ComboBoxes

#2 Dan_man  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 12
  • Joined: 11-September 12

Re: Question about populating ComboBoxes

Posted 16 February 2013 - 07:53 PM

Sorry about the large amount of code. I just copied the AddProductForm and AddOrderForm - no reason I wouldn't be able to understand the same process for AddCustomerForm.
Was This Post Helpful? 0
  • +
  • -

#3 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5469
  • View blog
  • Posts: 11,749
  • Joined: 02-June 10

Re: Question about populating ComboBoxes

Posted 17 February 2013 - 07:07 AM

[*]Q: ...get Form/class 'A' to make a change or talk to Form/class 'B'
Spoiler

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1