예제 #1
0
 public void OpenLogFile(string path)
 {
     LogFileManager file = new LogFileManager(path,ref vars);
     Grapher graphform = new Grapher(file);
     graphform.Show();
     graphform.BringToFront();
 }
예제 #2
0
 public MomentDetail(LogFileManager manager)
 {
     filemanager = manager;
     InitializeComponent();
     chart1.Series[0].XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.String;
     ReadCache(0f);
     data = CacheData2[0];
     PlotGraph(data);
     CacheData = CacheData2;
 }
예제 #3
0
 public Grapher(LogFileManager Filemanager)
 {
     filemanager = Filemanager;
     DetailForm = new MomentDetail(filemanager);
     DetailForm.Show();
     DetailForm.BringToFront();
     InitializeComponent();
     Chart1.MouseMove += new MouseEventHandler(Chart1_MouseMove);
     Chart1.MouseClick += new MouseEventHandler(Chart1_MouseClick);
     rangecontrol.ValueChanged += new EventHandler(rangecontrol_ValueChanged);
     textBox1.TextChanged += new EventHandler(text_Changed);
     textBox2.TextChanged += new EventHandler(text_Changed);
     rangecontrol.Properties.Maximum = 1000;
     rangecontrol.Properties.Minimum = 0;
     rangecontrol.Value = new DevExpress.XtraEditors.Repository.TrackBarRange(0, 1000);
 }