- Timestamp:
- 04/07/10 11:38:19 (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/ViewHost.cs
r3280 r3281 24 24 using System.Linq; 25 25 using System.Windows.Forms; 26 using HeuristicLab.Common;27 26 using HeuristicLab.MainForm; 28 using HeuristicLab.MainForm.WindowsForms;29 27 30 namespace HeuristicLab. Core.Views {28 namespace HeuristicLab.MainForm.WindowsForms { 31 29 public sealed partial class ViewHost : UserControl { 32 30 private Type viewType; … … 37 35 if (value != null && !ViewCanShowContent(value, content)) 38 36 throw new ArgumentException(string.Format("View \"{0}\" cannot display content \"{1}\".", 39 value.GetPrettyName(), 40 content.GetType().GetPrettyName())); 37 value, content.GetType())); 41 38 viewType = value; 42 39 UpdateView(); … … 110 107 if (!ViewCanShowContent(viewType, content)) 111 108 throw new InvalidOperationException(string.Format("View \"{0}\" cannot display content \"{1}\".", 112 viewType.GetPrettyName(), 113 Content.GetType().GetPrettyName())); 109 viewType, Content.GetType())); 114 110 115 111 UpdateActiveMenuItem();
Note: See TracChangeset
for help on using the changeset viewer.