[Mono-bugs] [Bug 82184][Nor] New - SaveFileDialog: Invalid FilterIndex causes AOORE
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jul 25 10:59:45 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by monkey at jpobst.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82184
--- shadow/82184 2007-07-25 10:59:45.000000000 -0400
+++ shadow/82184.tmp.15029 2007-07-25 10:59:45.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 82184
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: monkey at jpobst.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: SaveFileDialog: Invalid FilterIndex causes AOORE
+
+[Splitting bug #80640]
+
+When the following save dialog exits, it throws an ArgumentOutOfRangeException.
+
+using System;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+ public MainForm ()
+ {
+ SaveFileDialog sfd = new SaveFileDialog ();
+ sfd.Filter = "JPEGs|*.jpg";
+ sfd.FilterIndex = 6;
+ sfd.ShowDialog ();
+ }
+
+ [STAThread]
+ static void Main ()
+ {
+ Application.Run (new MainForm ());
+ }
+}
More information about the mono-bugs
mailing list