diff options
Diffstat (limited to 'Source/AddIn/FileDialog.cs')
-rw-r--r-- | Source/AddIn/FileDialog.cs | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/AddIn/FileDialog.cs b/Source/AddIn/FileDialog.cs deleted file mode 100644 index a7e2144..0000000 --- a/Source/AddIn/FileDialog.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Windows.Forms; - -namespace RehauSku -{ - static class FileDialog - { - public static string GetFilePath() - { - string filePath = string.Empty; - - using (OpenFileDialog dialog = new OpenFileDialog()) - { - dialog.Filter = "Все файлы (*.*)|*.*"; - - if (dialog.ShowDialog() == DialogResult.OK) - { - filePath = dialog.FileName; - } - } - - return filePath; - } - } -} |