- Timestamp:
- 08/01/13 09:57:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/3.3/Path Types/FileValue.cs
r9680 r9833 20 20 #endregion 21 21 22 using System;23 22 using System.IO; 24 23 using HeuristicLab.Common; … … 37 36 if (fileDialogFilter != value) { 38 37 fileDialogFilter = value; 39 OnFileOpenDialogFilterChanged();40 38 } 41 39 } … … 58 56 59 57 public override bool Exists() { 60 return File.Exists(value); 61 } 62 63 public event EventHandler FileOpenDialogFilterChanged; 64 protected virtual void OnFileOpenDialogFilterChanged() { 65 var handler = FileOpenDialogFilterChanged; 66 if (handler != null) 67 handler(this, EventArgs.Empty); 58 return File.Exists(Value); 68 59 } 69 60 }
Note: See TracChangeset
for help on using the changeset viewer.