diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-11-04 09:43:02 +0000 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-11-04 09:43:02 +0000 |
| commit | 6ab1468786f1e865e9ff408d32149f9c9620d844 (patch) | |
| tree | 45bac91aba019027213bdd37bac9f43c0a93853e /Histacom2.Engine/FileDialogBoxManager.cs | |
| parent | 2a473d05a34afe51cf0f5340cbdd48ad4e771657 (diff) | |
| download | histacom2-6ab1468786f1e865e9ff408d32149f9c9620d844.tar.gz histacom2-6ab1468786f1e865e9ff408d32149f9c9620d844.tar.bz2 histacom2-6ab1468786f1e865e9ff408d32149f9c9620d844.zip | |
Fix bugs
...and get rid of all == false and == true
Diffstat (limited to 'Histacom2.Engine/FileDialogBoxManager.cs')
| -rw-r--r-- | Histacom2.Engine/FileDialogBoxManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Histacom2.Engine/FileDialogBoxManager.cs b/Histacom2.Engine/FileDialogBoxManager.cs index 161c393..9f0b2ce 100644 --- a/Histacom2.Engine/FileDialogBoxManager.cs +++ b/Histacom2.Engine/FileDialogBoxManager.cs @@ -28,6 +28,13 @@ namespace Histacom2.Engine OnlyViewExtension = ExtensionToView; } + public static void DeactivateFileDialog() + { + IsInOpenDialog = false; + IsInSaveDialog = false; + OnlyViewExtension = ""; + } + public static string ReadTextFile(string path) { try |
