protected override void CreateObjects() { base.CreateObjects(); this.m_ZoomBoxAxes = new PlotLayoutBaseCollection(); this.m_FillInside = new PlotFillGrid(); base.AddSubClass(this.FillInside); this.m_FillOutside = new PlotFill(); base.AddSubClass(this.FillOutside); ((ISubClassBase)this.FillInside.Pen).ColorAmbientSource = AmbientColorSouce.CustomColor1; }
public PlotLayoutManager(Plot plot) { this.m_LayoutObjects = new PlotLayoutBaseCollection(); this.m_BlockItems = new PlotLayoutBlockItemCollection(); this.m_StackingGroups = new PlotLayoutStackingGroupCollection(); this.m_DataViewGroups = new PlotLayoutBlockGroupCollection(); this.m_ListDataViews = new PlotLayoutBaseCollection(); this.m_PlotDockGroup = new PlotLayoutBlockGroup(); this.m_LayoutGroupOrphan = new PlotLayoutBlockGroup(); this.m_BlockObjects = new PlotLayoutBlockBaseCollection(); plot.PlotObjectAdded += this.plot_PlotObjectAdded; plot.PlotObjectRemoved += this.plot_PlotObjectRemoved; this.AutoInsertEnabled = true; this.Plot = plot; }