handling multiple controls in a form ?

  • Thread starter Thread starter waqas.younas
  • Start date Start date
W

waqas.younas

Hi,
I am working on a windows form in C#. In my form i have three
comboboxes , one text box and one listbox. Values of combox and textbox
will be added into listbox. Now before adding my values into listbox i
want to insure that user has entered data in textbox and selected
something from combobox as in
If ( Some data has been selected from combobox and textbox's text is
equal to some string )
then
add values in list box
How would i go about it? Please enlighten me....Any help will be highly
appreciated..
Thanks.
-Erland
 
Back
Top