public CTChart_Properties(Panel propertiesPanel, Panel PropertiesBody, ImageAnalyser IA) { this.IA = IA; Ncalc = new Ncalc_Adapter(IA); PropPanel = new PropertiesPanel_Item(); PropPanel_Initialize(propertiesPanel, PropertiesBody); //GLControl event //IA.GLControl1.MouseDown += GLControl_MouseClick_tracking; }
public CTChart_Series(Panel propertiesPanel, Panel PropertiesBody, ImageAnalyser IA) { this.IA = IA; PropPanel = new PropertiesPanel_Item(); PropPanel_Initialize(propertiesPanel, PropertiesBody); string[] colMatrix = new string[] { "blue", "red", "#00b300", "#b300b3", "#00bfff", "#ffcc00", "#ff471a", "#cc6699", "#39e600" , "#00b3b3", "#ffcc66", "#7575a3", "#ff1a1a", "#ff0055", "#8a00e6", "#bf8040", "#53c68c", "#ace600", "#b33c00", "#ff6666" }; tv.ImageList = new ImageList(); tv.ImageList.ImageSize = new Size(20, 16); foreach (string val in colMatrix) { RefColors.Add(ColorTranslator.FromHtml(val)); createImagesFortTV(ColorTranslator.FromHtml(val)); } }