Click here to Skip to main content
12,550,731 members (35,246 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 22:12
memberJaime Olivares5-Sep-10 22: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.161021.1 | Last Updated 7 Sep 2010
Article Copyright 2010 by Member 2722225
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid