65.9K
CodeProject is changing. Read more.
Home

TIP: Handling WPF DialogResult with simplicity

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Sep 7, 2010

CPOL
viewsIcon

7600

what about this one :if (new frm().ShowDialog().Equals(true)) { //do something }

what about this one :
if (new frm().ShowDialog().Equals(true))
      {
         //do something
      }