Changeset 5388 for trunk/tools/Templates/HeuristicLabViewTemplate
- Timestamp:
- 01/28/11 00:51:34 (14 years ago)
- Location:
- trunk/tools/Templates/HeuristicLabViewTemplate
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Templates/HeuristicLabViewTemplate/DefaultView.cs
r4176 r5388 22 22 using System; 23 23 using System.Windows.Forms; 24 using HeuristicLab.Core.Views;25 24 using HeuristicLab.MainForm; 25 using HeuristicLab.MainForm.WindowsForms; 26 26 27 27 namespace $rootnamespace$ { 28 [View("$ safeitemname$")]29 [Content(typeof($ viewContentType$), IsDefaultView = $isDefaultView$)]30 public partial class $safeitemname$ : $baseClass${31 public new $ viewContentType$ Content {32 get { return ($ viewContentType$)base.Content; }28 [View("$viewName$")] 29 [Content(typeof($contentType$), IsDefaultView = $defaultView$)] 30 public partial class $safeitemname$ : AsynchronousContentView { 31 public new $contentType$ Content { 32 get { return ($contentType$)base.Content; } 33 33 set { base.Content = value; } 34 34 }
Note: See TracChangeset
for help on using the changeset viewer.