Top "Dialogresult" questions

DialogResult is returned by dialogs after dismissal.

Cannot use DialogResult

I tried to use DialogResult to check an Messagebox's YesNoCancel. I'm using the following code which I don't see any …

c# wpf dialogresult
Caliburn Micro: DialogResult

I can't find a solution for the following problem: I open a Dialog with the WindowManager from caliburn micro: public …

c# wpf caliburn.micro dialogresult
DialogResult that doesn't close the form?

I have a form Form1 from which I display Form2 as a modal form. From Form2 I do all sort …

c# winforms modal-dialog dialogresult
Application Close on DialogResult

I have a C# GUI application. When the user clicks on the red 'X' (for closing the app) I want …

c# visual-studio user-interface messagebox dialogresult
Why is DialogResult a nullable bool in WPF?

Can anyone think of a good explanation for the fact that result of a dialog is a nullable bool in …

.net wpf api-design dialogresult
MessageBox & Dialogs on XNA (C#)

I'm having the following code as part of my XNA game: private void gameOver() { if (!m_IsGameOver) { string message = String.…

c# xna xna-4.0 messagebox dialogresult
Catching MessageBox result

I'm trying to get the user to confirm if they want to delete a product using a MessageBox and catching …

c# messagebox dialogresult
DialogResult can be set only after Window is created and shown as dialog

I have a main WPF window, mywindow.showDialog when a button is clicked on the window, a command is executed …

c# wpf window dialogresult