예제 #1
0
 private void frmFolderBrowser_Load_1(object sender, EventArgs e)
 {
     this.buttonAdv1.Focus();
     this.folderBrowser1 = new FolderBrowser();
     this.folderBrowser2 = new FolderBrowser();
     this.folderBrowser3 = new FolderBrowser();
     Label label = new Label();
 }
예제 #2
0
        private void frmFolderBrowser_Load(object sender, System.EventArgs e)
        {
            this.folderBrowser1 = new Syncfusion.Windows.Forms.FolderBrowser(this.components);
            // folderBrowser1
            //
            this.folderBrowser1.FolderBrowserCallback += new Syncfusion.Windows.Forms.FolderBrowserCallbackEventHandler(this.folderBrowser1_FolderBrowserCallback);
            //
            // To Populate the ComboxBox1 with the Folder Path.
            this.comboBox1.Items.AddRange(new string[] {
                "Desktop Directory", "My Computer", "My Documents", "Desktop", "Internet", "Programs", "Control Panel",
                "Printers", "Personal", "Favorites", "Startup", "Recent", "Send To", "Recycle Bin", "Start Menu", "My Music",
                "My Video", "Network Neighborhood", "NetHood", "Fonts", "Templates", "My Pictures", "Common Documents",
                "Common Admin Tools", "Net And DialUp Connections", "Common Music", "Common Pictures",
                "Common Video", "Resources", "CD Burn Area", "Computers Near Me"
            });

            this.folderBrowser1.StartLocation = Syncfusion.Windows.Forms.FolderBrowserFolder.Desktop;
            this.folderBrowser1.Description   = "This is the Demo of Syncfusion FolderBrowser Control.";
            this.comboBox1.SelectedIndex      = 3;
        }