Пример #1
0
 protected override void CreateObjects()
 {
     base.CreateObjects();
     this.m_Trace = new PlotPen();
     base.AddSubClass(this.Trace);
     this.I_Trace   = this.Trace;
     this.m_Markers = new PlotMarker();
     base.AddSubClass(this.Markers);
     this.I_Markers = this.Markers;
     ((ISubClassBase)this.Trace).ColorAmbientSource              = AmbientColorSouce.Color;
     ((ISubClassBase)this.Markers.Fill.Pen).ColorAmbientSource   = AmbientColorSouce.Color;
     ((ISubClassBase)this.Markers.Fill.Brush).ColorAmbientSource = AmbientColorSouce.Color;
 }
Пример #2
0
 protected override void CreateObjects()
 {
     base.CreateObjects();
     this.m_FillHigh = new PlotFill();
     base.AddSubClass(this.FillHigh);
     this.I_FillHigh = this.FillHigh;
     this.m_FillLow  = new PlotFill();
     base.AddSubClass(this.FillLow);
     this.I_FillLow = this.FillLow;
     this.m_Markers = new PlotMarker();
     base.AddSubClass(this.Markers);
     this.I_Markers = this.Markers;
     this.m_Trace   = new PlotPen();
     base.AddSubClass(this.Trace);
     this.I_Trace = this.Trace;
     ((ISubClassBase)this.Trace).ColorAmbientSource              = AmbientColorSouce.Color;
     ((ISubClassBase)this.FillHigh.Pen).ColorAmbientSource       = AmbientColorSouce.Color;
     ((ISubClassBase)this.FillHigh.Brush).ColorAmbientSource     = AmbientColorSouce.Color;
     ((ISubClassBase)this.FillLow.Pen).ColorAmbientSource        = AmbientColorSouce.Color;
     ((ISubClassBase)this.FillLow.Brush).ColorAmbientSource      = AmbientColorSouce.Color;
     ((ISubClassBase)this.Markers.Fill.Pen).ColorAmbientSource   = AmbientColorSouce.Color;
     ((ISubClassBase)this.Markers.Fill.Brush).ColorAmbientSource = AmbientColorSouce.Color;
     this.m_TraceFastDraw = new PlotTraceFastDraw();
 }