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

TIP: Handling WPF DialogResult with simplicity

4.75/5 (6 votes)
18 Jun 2010CPOL 17.2K  
Or even...if (frm.ShowDialog() == true){ // do something here}
Or even...

C#
if (frm.ShowDialog() == true)
{
  // do something here
}

License

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