- Timestamp:
- 10/15/09 14:01:15 (15 years ago)
- Location:
- branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2/DockForm.cs
r2426 r2433 55 55 Control control = (Control)View; 56 56 control.Dock = DockStyle.Fill; 57 this.Size = control.Size; 57 58 viewPanel.Controls.Add(control); 58 59 View.CaptionChanged += new EventHandler(View_CaptionChanged); -
branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2/ViewBase.Designer.cs
r2426 r2433 23 23 24 24 namespace HeuristicLab.MainForm.WindowsForms { 25 partial class ViewBase {25 partial class ViewBase<T> { 26 26 /// <summary> 27 27 /// Required designer variable. -
branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2/ViewBase.cs
r2426 r2433 30 30 31 31 namespace HeuristicLab.MainForm.WindowsForms { 32 public partial class ViewBase : UserControl,IView { 32 public partial class ViewBase<T> : UserControl, IView<T> { 33 protected T item; 33 34 public ViewBase() { 34 35 InitializeComponent(); 36 item = default(T); 37 } 38 public virtual void View(T item) { 35 39 } 36 40
Note: See TracChangeset
for help on using the changeset viewer.