Click here to Skip to main content
12,078,070 members (46,130 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

6.9K views
1 bookmarked
Posted

TIP: Handling WPF DialogResult with simplicity

, 26 Jul 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
if(frm.DialogR...
if(frm.DialogResult.GetValueOrDefault)
{
   // some content... 
}

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

catbirch
Australia Australia
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralReason for my vote of 4 Do you want to read a long character... Pin
osam12-Jul-11 8:31
memberosam12-Jul-11 8:31 
GeneralReason for my vote of 4 I like it. I think it should work a... Pin
Jaime Olivares5-Sep-10 23:14
memberJaime Olivares5-Sep-10 23:14 

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.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160212.1 | Last Updated 26 Jul 2010
Article Copyright 2010 by catbirch
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid