示例#1
0
 public override void BeginInitialize( )
 {
     if (MainSeries1 == null)
     {
         MainSeries1 = new ABCChartBaseSeries(this);
         MainSeries1.BeginInitialize();
     }
     if (MainSeries2 == null)
     {
         MainSeries2 = new ABCChartBaseSeries(this);
         MainSeries2.BeginInitialize();
     }
     if (MainSeries3 == null)
     {
         MainSeries3 = new ABCChartBaseSeries(this);
         MainSeries3.BeginInitialize();
     }
     if (MainSeries4 == null)
     {
         MainSeries4 = new ABCChartBaseSeries(this);
         MainSeries4.BeginInitialize();
     }
     if (MainSeries5 == null)
     {
         MainSeries5 = new ABCChartBaseSeries(this);
         MainSeries5.BeginInitialize();
     }
     if (MainSeries6 == null)
     {
         MainSeries6 = new ABCChartBaseSeries(this);
         MainSeries6.BeginInitialize();
     }
     base.BeginInitialize();
 }
        public override void BeginInitialize( )
        {
            if (MainSeries == null)
            {
                MainSeries = new ABCChartBaseSeries(this);
                MainSeries.BeginInitialize();
            }

            base.BeginInitialize();
        }