Пример #1
0
 void FixParent(GridChartControl chart)
 {
     if (this.chartControl.Parent != Grid)
     {
         this.chartControl.Visible          = true;
         this.chartControl.Location         = new Point(10000, 10000);
         this.chartControl.CausesValidation = false;
         Grid.Controls.Add(chartControl);
         this.chartControl.Visible = false;
     }
 }
Пример #2
0
 public GridChartCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
     : base(grid, cellModel)
 {
     chartControl = new GridChartControl(this);
 }