Changeset 776 for trunk/sources/HeuristicLab.Core/EditorBase.cs
- Timestamp:
- 11/19/08 12:12:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/EditorBase.cs
r2 r776 29 29 30 30 namespace HeuristicLab.Core { 31 /// <summary> 32 /// Base class for views that can load and save data. 33 /// </summary> 31 34 public partial class EditorBase : ViewBase, IEditor { 32 35 private string myFilename; 36 /// <summary> 37 /// Gets or sets the filename of the current editor. 38 /// </summary> 39 /// <remarks>Calls <see cref="OnFilenameChanged"/> in the setter if the filename is new.</remarks> 33 40 public string Filename { 34 41 get { return myFilename; } … … 41 48 } 42 49 50 /// <summary> 51 /// Initializes a new instance of <see cref="EditorBase"/> with the caption "Editor". 52 /// </summary> 43 53 public EditorBase() { 44 54 InitializeComponent(); … … 46 56 } 47 57 58 /// <summary> 59 /// Updates all controls with the latest data of the model. 60 /// </summary> 61 /// <remarks>Calls <see cref="ViewBase.UpdateControls"/> of base class <see cref="ViewBase"/>.</remarks> 48 62 protected override void UpdateControls() { 49 63 base.UpdateControls(); … … 54 68 } 55 69 70 /// <summary> 71 /// Occurs when the filename is changed. 72 /// </summary> 56 73 public event EventHandler FilenameChanged; 74 /// <summary> 75 /// Fires a new <c>FilenameChanged</c> event. 76 /// </summary> 57 77 protected virtual void OnFilenameChanged() { 58 78 if (FilenameChanged != null)
Note: See TracChangeset
for help on using the changeset viewer.