[Mono-bugs] [Bug 370736] SaveFileDialog, restore directory

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 11 18:49:42 EDT 2008


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

User surfzoid2002 at yahoo.fr added comment
https://bugzilla.novell.com/show_bug.cgi?id=370736#c5


Eric Petit <surfzoid2002 at yahoo.fr> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                                        |ASSIGNED
      Info Provider|surfzoid2002 at yahoo.fr                           |




--- Comment #5 from Eric Petit <surfzoid2002 at yahoo.fr>  2008-06-11 16:49:41 MDT ---
Another creazy one, with the test case below it work good, either it was fixed
since 2008/02/19 either once time it is an option from MS VS GUI Designer :

// Main.cs created with MonoDevelop
// 
//User: eric at 00:43 12/06/2008
//
// Copyright (C) 2008 [Petit Eric, surfzoid at gmail.com]
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
using System;
using System.Windows.Forms;

namespace Bug370736
{
        class MainClass
        {
                public static void Main(string[] args)
                {
                         try
           {

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

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

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

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


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list