Click here to Skip to main content
13,143,459 members (32,776 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.7K views
1 bookmarked
Posted 7 Sep 2010

TIP: Handling WPF DialogResult with simplicity

, 7 Sep 2010
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
      }

License

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

Share

About the Author

Member 2722225
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Pro

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.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170915.1 | Last Updated 7 Sep 2010
Article Copyright 2010 by Member 2722225
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid