Пример #1
0
 public PlotterDisplayEx()
 {
     InitializeComponent();
     mTimer        = new Model.PrecisionTimer.Timer();
     mTimer.Period = 50;
     mTimer.Tick  += new EventHandler(OnTimerTick);
     play_speed    = 0.5f;
     mTimer.Start();
     isRunning = false;
 }
Пример #2
0
        public MainForm()
        {
            InitializeComponent();

            display.Smoothing = System.Drawing.Drawing2D.SmoothingMode.HighSpeed;

            CalcDataGraphs();

            display.Refresh();


            mTimer        = new Model.PrecisionTimer.Timer();
            mTimer.Period = 40;
            mTimer.Tick  += new EventHandler(OnTimerTick);
            lastTimerTick = DateTime.Now;
            mTimer.Start();
        }