// Factory Methods
        public static FolderBrowserDialogEx PrinterBrowser()
        {
            FolderBrowserDialogEx x = new FolderBrowserDialogEx();

            // avoid MBRO comppiler warning when passing _rootFolderLocation as a ref:
            x.BecomePrinterBrowser();
            return(x);
        }
Example #2
0
        private void buttonOpenJSRSave_Click(object sender, EventArgs e)
        {
            FolderBrowserDialogEx folderDialog = new FolderBrowserDialogEx();
            folderDialog.Description = "Select the JSR User Data Folder:";
            folderDialog.ShowNewFolderButton = false;
            folderDialog.ShowEditBox = true;
            folderDialog.ShowFullPathInEditBox = true;
            folderDialog.RootFolder = System.Environment.SpecialFolder.MyComputer;

            if (folderDialog.ShowDialog() == DialogResult.OK)
            {
                OpenJSRSavePath(folderDialog.SelectedPath);
                SaveConfig();
            }
        }
Example #3
0
        private void buttonOpenJSRSave_Click(object sender, EventArgs e)
        {
            FolderBrowserDialogEx folderDialog = new FolderBrowserDialogEx();

            folderDialog.Description           = "Select the JSR User Data Folder:";
            folderDialog.ShowNewFolderButton   = false;
            folderDialog.ShowEditBox           = true;
            folderDialog.ShowFullPathInEditBox = true;
            folderDialog.RootFolder            = System.Environment.SpecialFolder.MyComputer;

            if (folderDialog.ShowDialog() == DialogResult.OK)
            {
                OpenJSRSavePath(folderDialog.SelectedPath);
                SaveConfig();
            }
        }
 // Factory Methods
 public static FolderBrowserDialogEx PrinterBrowser()
 {
     FolderBrowserDialogEx x = new FolderBrowserDialogEx();
     // avoid MBRO comppiler warning when passing _rootFolderLocation as a ref:
     x.BecomePrinterBrowser();
     return x;
 }