Click here to Skip to main content
16,018,419 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: dos Pin
led mike28-Feb-07 5:27
led mike28-Feb-07 5:27 
AnswerRe: dos Pin
kubben28-Feb-07 5:28
kubben28-Feb-07 5:28 
AnswerRe: dos Pin
Newbie0028-Feb-07 10:52
Newbie0028-Feb-07 10:52 
QuestionMonitor UPS Pin
abhiramsss27-Feb-07 21:56
abhiramsss27-Feb-07 21:56 
AnswerRe: Monitor UPS Pin
Pete O'Hanlon28-Feb-07 10:45
mvePete O'Hanlon28-Feb-07 10:45 
QuestionColor Of Tab Control Pin
Vikram.....27-Feb-07 1:42
Vikram.....27-Feb-07 1:42 
AnswerRe: Color Of Tab Control Pin
JUNEYT27-Feb-07 11:14
JUNEYT27-Feb-07 11:14 
QuestionDynamic Combobox - refresh list items on the fly Pin
CaptainSpecial26-Feb-07 12:56
CaptainSpecial26-Feb-07 12:56 
I have a main form where the user selects a customer from a drop down box. On this form is also a button that opens another form as a dialog that allows the user to enter a new customer. The user clicks "Save" on the new customer dialog and the customer is saved to the database and the main form becomes active again. I can't figure out how to update the combobox so that it displays this new customer in the list.

The combobox is bound to a datasource. I know the code to create and save a new customer is working since the change is reflected in the database. The new customer also appears in the combobox BUT only after I close and run the application again.

<br />
            // if a new customer was added to the database/dataset refresh combobox since there should be a new item<br />
            if (result == DialogResult.OK)<br />
            {<br />
                // code to refresh combobox should go here<br />
<br />
            }<br />

AnswerRe: Dynamic Combobox - refresh list items on the fly Pin
CaptainSpecial27-Feb-07 12:57
CaptainSpecial27-Feb-07 12:57 
GeneralRe: Dynamic Combobox - refresh list items on the fly Pin
RabidHamster2-Mar-07 4:31
RabidHamster2-Mar-07 4:31 
GeneralRe: Dynamic Combobox - refresh list items on the fly Pin
CaptainSpecial2-Mar-07 17:43
CaptainSpecial2-Mar-07 17:43 
QuestionDocked Windows Pin
webHamlet25-Feb-07 10:04
webHamlet25-Feb-07 10:04 
AnswerRe: Docked Windows Pin
User 171649225-Feb-07 13:00
professionalUser 171649225-Feb-07 13:00 
GeneralRe: Docked Windows Pin
Scott Dorman26-Feb-07 4:01
professionalScott Dorman26-Feb-07 4:01 
GeneralRe: Docked Windows Pin
webHamlet26-Feb-07 13:49
webHamlet26-Feb-07 13:49 
GeneralRe: Docked Windows Pin
Scott Dorman26-Feb-07 14:03
professionalScott Dorman26-Feb-07 14:03 
AnswerRe: Docked Windows Pin
Scott Dorman26-Feb-07 4:02
professionalScott Dorman26-Feb-07 4:02 
GeneralRe: Docked Windows Pin
webHamlet26-Feb-07 4:45
webHamlet26-Feb-07 4:45 
AnswerRe: Docked Windows Pin
Pete O'Hanlon26-Feb-07 5:13
mvePete O'Hanlon26-Feb-07 5:13 
QuestionDesigning the GUI outside of VS2005 Pin
yuvalby7425-Feb-07 0:48
yuvalby7425-Feb-07 0:48 
AnswerRe: Designing the GUI outside of VS2005 Pin
Hesham Amin26-Feb-07 1:08
Hesham Amin26-Feb-07 1:08 
AnswerRe: Designing the GUI outside of VS2005 Pin
Pete O'Hanlon26-Feb-07 8:52
mvePete O'Hanlon26-Feb-07 8:52 
Questionhow i can do that??? Pin
Member 283282724-Feb-07 22:54
Member 283282724-Feb-07 22:54 
AnswerBind a data grid with an array list (Re: how i can do that???) Pin
RabidHamster2-Mar-07 4:18
RabidHamster2-Mar-07 4:18 
QuestionHow Windows Graphics and mouse movement is mapped Pin
bil_geo24-Feb-07 19:48
bil_geo24-Feb-07 19:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.