Click here to Skip to main content
11,933,905 members (45,409 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked

TIP: Handling WPF DialogResult with simplicity

, 7 Sep 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
what about this one :if (new frm().ShowDialog().Equals(true)) { //do something }
what about this one :
if (new frm().ShowDialog().Equals(true))
         //do something


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


About the Author

Member 2722225
Web Developer
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralReason for my vote of 3 That's basically the same as my orig... Pin
Jaime Olivares5-Sep-10 23:12
memberJaime Olivares5-Sep-10 23:12 

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
Web02 | 2.8.151126.1 | Last Updated 7 Sep 2010
Article Copyright 2010 by Member 2722225
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid