Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: MemoryOutException Pin
Guffa27-Apr-06 7:12
Guffa27-Apr-06 7:12 
Questiontwo columns as source for checkedlistbox.DisplayMember ? Pin
livez27-Apr-06 1:29
livez27-Apr-06 1:29 
AnswerRe: two columns as source for checkedlistbox.DisplayMember ? Pin
Ed.Poore27-Apr-06 3:25
Ed.Poore27-Apr-06 3:25 
QuestionControlBox Close Button Pin
paas27-Apr-06 1:01
paas27-Apr-06 1:01 
AnswerRe: ControlBox Close Button Pin
Shajeel27-Apr-06 1:58
Shajeel27-Apr-06 1:58 
GeneralRe: ControlBox Close Button Pin
paas27-Apr-06 4:27
paas27-Apr-06 4:27 
AnswerRe: ControlBox Close Button Pin
Shajeel27-Apr-06 20:47
Shajeel27-Apr-06 20:47 
QuestionComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 0:23
joaoafonso27-Apr-06 0:23 
Hi everyone.

I'm developing a Windows Forms MDI application with several forms and user controls inside these forms. In some Error situations the user controls display a MessageBox with some text to the user, indicating the error.

The problem in showing these messages is that after I exit the messageBox window and go back to the application window, some of the ComboBoxes on the user control stop working. They just don't respond to any event, like SelectedIndexChanged for ex.

Any clues? Thanks in advance.

The messageBox display is done like this:
try
{
    //code to treat user's choice
}
catch(Exception ex)
{
    MessageBox.Show(null, ex.Message, "Data Error");
}

and i've also tried (with this refering to the user control):
MessageBox.Show(this, ex.Message, "Data Error");

AnswerRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 1:41
Ed.Poore27-Apr-06 1:41 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 2:00
joaoafonso27-Apr-06 2:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 3:16
Ed.Poore27-Apr-06 3:16 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 6:00
joaoafonso27-Apr-06 6:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 6:02
Ed.Poore27-Apr-06 6:02 
QuestionHow can i use a masked textbox column in a datagridview for date format Pin
Lee ju26-Apr-06 23:57
Lee ju26-Apr-06 23:57 
QuestionEmbedding two forms Pin
praveenqwe26-Apr-06 23:50
praveenqwe26-Apr-06 23:50 
GeneralRe: Embedding two forms Pin
Guffa27-Apr-06 1:13
Guffa27-Apr-06 1:13 
Questionsqlconnection :S :S Pin
Greeky26-Apr-06 23:50
Greeky26-Apr-06 23:50 
AnswerRe: sqlconnection :S :S Pin
J4amieC27-Apr-06 0:10
J4amieC27-Apr-06 0:10 
GeneralRe: sqlconnection :S :S Pin
Greeky27-Apr-06 0:44
Greeky27-Apr-06 0:44 
GeneralRe: sqlconnection :S :S Pin
J4amieC27-Apr-06 1:12
J4amieC27-Apr-06 1:12 
GeneralRe: sqlconnection :S :S Pin
leppie27-Apr-06 4:33
leppie27-Apr-06 4:33 
GeneralRe: sqlconnection :S :S Pin
J4amieC27-Apr-06 4:39
J4amieC27-Apr-06 4:39 
GeneralRe: sqlconnection :S :S Pin
Greeky27-Apr-06 8:25
Greeky27-Apr-06 8:25 
AnswerRe: sqlconnection :S :S Pin
Rob Philpott27-Apr-06 5:42
Rob Philpott27-Apr-06 5:42 
Questioncreating shortcutkey Pin
dayakar_dn26-Apr-06 23:46
dayakar_dn26-Apr-06 23:46 

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.