Ejemplo n.º 1
0
 public void Update(BaseDock bd)
 {
     if (this.IsFloat)
     {
         if (this.Pane != null)
         {
             Console.WriteLine("is Float");
             GraphUpdateView = new UpdateGraph();
             GraphUpdateView.Register(this);
             GraphUpdateView.UpdateView();
             GraphUpdateView.Show(Pane, DockAlignment.Bottom, 0.25);
         }
     }
     else
     {
         Console.WriteLine("is !Float");
         GraphUpdateView.Close();
         GraphUpdateView = AnalyticsController.Instance.UpdateGraphMainView;
         bd.Update(this, DockState.Document);
     }
 }
Ejemplo n.º 2
0
 public void Register(BaseDock activeBaseDock)
 {
     activeBaseDock.Register(this);
     activeBaseDock.Update(FileExplorer, DockState.DockRight);
     activeBaseDock.Update(GraphExplorer, DockState.DockRight);
     activeBaseDock.Update(UpDateBand, DockState.DockBottom);
     activeBaseDock.Update(UpdateGraphMainView, DockState.DockBottom);
 }