https://bugzilla.novell.com/show_bug.cgi?id=370736

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=370736#c4


Thomas Wiest <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |NEEDINFO
      Info Provider|                                                |[EMAIL 
PROTECTED]




--- Comment #4 from Thomas Wiest <[EMAIL PROTECTED]>  2008-06-11 16:14:56 MDT 
---
Hey Eric,
   Thanks for the test case, however it's better if you include the whole test
case file, not just snippets.

I formulated a test case based on your code above, but it hangs on the first
OF.ShowDialog() in Visual C# Express 2008.

Would you mind attaching a full test case that works in VS?

Thanks! :)



Here's the test case I created from your code above (again, this hangs):
using System;
using System.Diagnostics;
using System.Windows.Forms;

namespace Bug370736
{
    public class Bug370736
    {
        [STAThread]
        public static void Main()
        {
            try
            {

                SaveFileDialog SF = new SaveFileDialog();
                SF.RestoreDirectory = true;
                SF.ShowDialog();

                OpenFileDialog OF = new OpenFileDialog();
                OF.RestoreDirectory = true;                

                OF.ShowDialog();
                SF.ShowDialog();
                OF.ShowDialog();
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.Message + Environment.NewLine +
                                ex.StackTrace, "Error", 
                                MessageBoxButtons.OK, MessageBoxIcon.Error);

                Debug.WriteLine(DateTime.Now + ": " + ex.Message +
                                Environment.NewLine + ex.StackTrace);
            }
        }
    }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to