Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
4 Sep 2010Jaime Olivares 4 alternatives
Shorter way to evaluate DialogResult after calling Window.ShowDialog
May be this is better?if (f.ShowDialog() ?? false) { // ebat' melkosoft za takie prikoly}
what about this one :if (new frm().ShowDialog().Equals(true)) { //do something }
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.
So..If you're not moving forward, you're moving backwards.