Skip to content

Commit

Permalink
FileDialog changes:
Browse files Browse the repository at this point in the history
added InitialDirectory property;
added possibility to change disk (C:/, D:/, E:/ and etc) from textBox;
fixed NullReferenceException when button 'Up' was pressed while in the top folder.
  • Loading branch information
Meragon committed Jul 25, 2018
1 parent 72021f7 commit 477f127
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 77 deletions.
1 change: 1 addition & 0 deletions Examples/Panels/PanelFileDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public override void Initialize()
{
var ofd = new OpenFileDialog();
ofd.Filter = textFilter.Text;
ofd.InitialDirectory = "C:\\";
ofd.ShowDialog(
(form, result) =>
{
Expand Down
Loading

0 comments on commit 477f127

Please sign in to comment.