Esempio n. 1
0
 void IPlotterElement.OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.CentralGrid.Children.Add(this);
 }
Esempio n. 2
0
 void IPlotterElement.OnPlotterDetaching(Plotter plotter)
 {
     plotter.CentralGrid.Children.Remove(this);
     this.plotter = null;
 }
Esempio n. 3
0
 /// <summary>This method is invoked when element is attached to plotter. It is the place
 /// to put additional controls to Plotter</summary>
 /// <param name="plotter">Plotter for this element</param>
 public virtual void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     RaisePlotterAttached(plotter);
 }
Esempio n. 4
0
 /// <summary>This method is invoked when element is being detached from plotter. If additional
 /// controls were put on plotter in OnPlotterAttached method, they should be removed here</summary>
 /// <remarks>This method is always called in pair with OnPlotterAttached</remarks>
 public virtual void OnPlotterDetaching(Plotter plotter)
 {
     RaisePlotterDetaching(plotter);
     this.plotter = null;
 }
Esempio n. 5
0
 protected virtual Panel GetHostPanel(Plotter plotter)
 {
     return(plotter.CentralGrid);
 }
Esempio n. 6
0
 public PlotterConnectionEventArgs(Plotter plotter)
 {
     this.plotter = plotter;
 }
Esempio n. 7
0
 public void OnPlotterDetaching(Plotter plotter)
 {
     this.plotter = null;
     plotter.HeaderPanel.Children.Remove(this);
 }
Esempio n. 8
0
 public void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.HeaderPanel.Children.Add(this);
 }
Esempio n. 9
0
 public void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.LeftPanel.Children.Insert(0, this);
 }
Esempio n. 10
0
 public void OnPlotterDetaching(Plotter plotter)
 {
     plotter.FooterPanel.Children.Remove(this);
     this.plotter = null;
 }
Esempio n. 11
0
 protected virtual Panel GetHostPanel(Plotter plotter)
 {
     return(plotter.MainGrid);
 }