Click here to Skip to main content
15,917,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I check if the datasource is writable? Pin
AngryC28-Jun-06 15:53
AngryC28-Jun-06 15:53 
AnswerRe: How can I check if the datasource is writable? Pin
Dave Kreskowiak28-Jun-06 15:51
mveDave Kreskowiak28-Jun-06 15:51 
GeneralRe: How can I check if the datasource is writable? Pin
AngryC28-Jun-06 16:10
AngryC28-Jun-06 16:10 
GeneralRe: How can I check if the datasource is writable? Pin
Edbert P28-Jun-06 19:01
Edbert P28-Jun-06 19:01 
GeneralRe: How can I check if the datasource is writable? Pin
AngryC28-Jun-06 19:39
AngryC28-Jun-06 19:39 
GeneralRe: How can I check if the datasource is writable? Pin
Robert Rohde28-Jun-06 20:01
Robert Rohde28-Jun-06 20:01 
GeneralRe: How can I check if the datasource is writable? Pin
Dave Kreskowiak29-Jun-06 1:31
mveDave Kreskowiak29-Jun-06 1:31 
QuestionModal Dialog help in C# [modified] Pin
McSmack28-Jun-06 14:57
McSmack28-Jun-06 14:57 
I have found a condition where my dialog does not stay modal. I'm using the following snipit of code to create my modal dialog...


public void ShowMyDialogBox()
{
MessageForm testDialog = new MessageForm();

// Show testDialog as a modal dialog and determine if DialogResult = OK.
if (testDialog.ShowDialog(this) != DialogResult.OK)
{
Console.WriteLine("ERROR Broke Modal DialogBox\n");
}
testDialog.Dispose();
}


This method is called when my serial communications callback function gets called. When the message dialog is displayed, I can still click on the parent form to move it around, or perform button click actions.

The only thing I can think of at this point is it might be a threading issue, where the callback is running in a different thread than the main thread.

Can anyone help me?


McSmack

-- modified at 20:59 Wednesday 28th June, 2006
AnswerRe: Modal Dialog help in C# Pin
Alexander Wiseman28-Jun-06 15:41
Alexander Wiseman28-Jun-06 15:41 
QuestionRe: Modal Dialog help in C# [modified] Pin
Martin#28-Jun-06 19:34
Martin#28-Jun-06 19:34 
AnswerRe: Modal Dialog help in C# Pin
Alexander Wiseman29-Jun-06 5:39
Alexander Wiseman29-Jun-06 5:39 
GeneralRe: Modal Dialog help in C# [modified] Pin
Martin#29-Jun-06 6:11
Martin#29-Jun-06 6:11 
GeneralRe: Modal Dialog help in C# Pin
Alexander Wiseman29-Jun-06 6:30
Alexander Wiseman29-Jun-06 6:30 
GeneralRe: Modal Dialog help in C# Pin
Martin#29-Jun-06 6:41
Martin#29-Jun-06 6:41 
GeneralRe: Modal Dialog help in C# Pin
McSmack29-Jun-06 6:00
McSmack29-Jun-06 6:00 
QuestionRe: Modal Dialog help in C# Pin
Alexander Wiseman29-Jun-06 6:41
Alexander Wiseman29-Jun-06 6:41 
AnswerRe: Modal Dialog help in C# Pin
McSmack29-Jun-06 7:17
McSmack29-Jun-06 7:17 
QuestionRe: Modal Dialog help in C# Pin
Alexander Wiseman29-Jun-06 10:53
Alexander Wiseman29-Jun-06 10:53 
AnswerRe: Modal Dialog help in C# Pin
McSmack29-Jun-06 12:19
McSmack29-Jun-06 12:19 
GeneralRe: Modal Dialog help in C# Pin
Alexander Wiseman29-Jun-06 12:54
Alexander Wiseman29-Jun-06 12:54 
QuestionQuick button question [modified] Pin
Arkon94828-Jun-06 13:05
Arkon94828-Jun-06 13:05 
AnswerRe: Quick button question [modified] Pin
Mike Poz28-Jun-06 13:45
Mike Poz28-Jun-06 13:45 
QuestionExporting to SPSS issue Pin
Nader Elshehabi28-Jun-06 11:59
Nader Elshehabi28-Jun-06 11:59 
AnswerRe: Exporting to SPSS issue Pin
farquem828-Jun-06 16:01
farquem828-Jun-06 16:01 
GeneralRe: Exporting to SPSS issue Pin
Nader Elshehabi28-Jun-06 17:29
Nader Elshehabi28-Jun-06 17:29 

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.