예제 #1
0
 private void ShowExistingView(ViewBase view, bool activate)
 {
     if (activate)
     {
         view.Activate();
         if (_activeView != null)
         {
         }
         if (_activeView != view)
         {
             _activeView = view;
             ActiveViewChanged?.Invoke(this, EventArgs.Empty);
         }
     }
     else
     {
         view.Host.SetActiveView(view);
     }
 }
예제 #2
0
 private void ShowExistingView(ViewBase view, bool activate)
 {
     if (activate)
     {
         view.Activate();
         if (_activeView != null)
         {
         }
         if (_activeView != view)
         {
             _activeView = view;
             ActiveViewChanged.Raise(this);
         }
     }
     else
     {
         view.Host.SetActiveView(view);
     }
 }