Beispiel #1
0
 internal void SetInitialComponent(MgViewerComponent cmp)
 {
     if (cmp.Target != MgViewerTarget.TaskPane)
     {
         throw new InvalidOperationException(Strings.ErrorComponentTargetNotTaskPane);
     }
     this.InitialTask = cmp.CreateControl();
 }
Beispiel #2
0
 internal void SetInitialComponent(MgViewerComponent cmp)
 {
     if (cmp.Target != MgViewerTarget.TaskPane)
         throw new InvalidOperationException(Strings.ErrorComponentTargetNotTaskPane);
     this.InitialTask = cmp.CreateControl();
 }