-
August 23rd, 2013, 12:50 PM
#1
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
Return Values:
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'??
http://msdn.microsoft.com/en-us/libr...(v=vs.90).aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|