Exemplo n.º 1
0
 /// <summary>
 /// Init all component data
 /// </summary>
 private void InitComponent()
 {
     Assembly[] assemblies = AdaptersLoader.LoadAdapters(supportedCharts);
     //System.Windows.Forms.MessageBox.Show("assemblies" + assemblies.Length.ToString());
     _chartAdapters = AdaptersLoader.GetCustomAdapters(assemblies, typeof(IChartAdapter2D));
     //System.Windows.Forms.MessageBox.Show("_chartAdapters" + _chartAdapters.Length.ToString());
     this.ComponentDataChanged += new EventHandler(NugenCCalcComponent_ComponentDataChanged);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Init all component data
 /// </summary>
 private void InitComponent()
 {
     Assembly[] assemblies = AdaptersLoader.LoadAdapters(supportedCharts);
     _chartAdapters             = AdaptersLoader.GetCustomAdapters(assemblies, typeof(IChartAdapter3D));
     this.ComponentDataChanged += new EventHandler(NugenCCalcComponent_ComponentDataChanged);
 }