Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / desktop / WPF

TIP: Handling WPF DialogResult with simplicity

0.00/5 (No votes)
7 Sep 2010CPOL 7.6K  
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)