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

            // avoid MBRO comppiler warning when passing _rootFolderLocation as a ref:
            x.BecomePrinterBrowser();
            return(x);
        }
예제 #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();
            }
        }
예제 #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;
 }