Beispiel #1
0
        private void timer2_Tick(object sender, EventArgs e)
        {
            ZedGraphControl1.AxisChange();
            ZedGraphControl1.Refresh();
            ZedGraphControl2.AxisChange();
            ZedGraphControl2.Refresh();

            //COMRx =  Math.Cos(Math.PI * ind / 180.0) * 3300 + "," + Math.Sin(Math.PI * ind / 180.0) * 3300;
            COMRx = Math.Cos(ind) * 3300 + "," + Math.Sin(ind) * 3300;

            ind += 0.05f;

            this.BeginInvoke(new EventHandler(ProcessCOMRx));
            this.BeginInvoke(new EventHandler(ProcessCOMRx2));
        }
Beispiel #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     ZedGraphControl1.AxisChange();
     ZedGraphControl1.Invalidate();
 }