August 23rd, 2013, 12:50 PM
DialogResult does not default to None?
VB.NET 2010, Framework 3.5
All the documentation I see says that the DialogResult's default value is None
One of the System.Windows.Forms.DialogResult values. The default value is None.
The problems I'm seeing. . I open a form via ShowDialog(), the form I open does NOT set a DialogResult value anywhere, it seems no matter how I close the dialog the returning DialogResult is always 'Cancel' not 'None'. Why is it documented to default to 'None' when it seems that the default is 'Cancel'??
Click Here to Expand Forum to Full Width