C# Beginners Tutorial – 56 – FolderBrowserDialog

20
1



Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –

Nguồn:https://wijstaanvooronzegrondrechten.org/

20 COMMENTS

  1. Here's an updated version:
    OpenFileDialog open = new OpenFileDialog();

    open.Filter = "Image Files(*.jpg; *.jpeg; *.gif; *.bmp)|*.jpg; *.jpeg; *.gif; *.bmp";

    if (open.ShowDialog() == DialogResult.OK)

    {

    lbPath.Text = open.FileName;

    }

  2. thanks a lot man!
    there is also the option "shownewfolderbutton" which is very nice cause you can disable that button if you want the user to select a existing directory 😉

  3. You explained well how to use this control. Although personally I don't like the control itself.
    For others also who dislike FolderBrowserDialog, you can try Ooki Dialogs.

  4. @ItsXboss I agree. If I didnt have any experience in other languages I would've probably not understand it either and I would've probably struggled to continue. What part you dont understand though?

LEAVE A REPLY

Please enter your comment!
Please enter your name here