A way to open a folder in a listbox windows form app.net framework

  .net-framework-4.8, c++, forms, lua, windows

I’m trying to get both .lua and .txt form a file path in a list box so when a button is pressed it, open file explorer, then when a folder is selected all the .txts and .lua files show up that are within that folder
I’ve tried

listBox1.Items.Clear();//Clear Items in the LuaScriptList
            Functions.PopulateListBox(listBox1, "./Scripts", "*.txt");
            Functions.PopulateListBox(listBox1, "./Scripts", "*.lua");

but want to add a feature that allows you to change the folder path using file explorer

Source: Windows Questions