public Form1()
 {
     InitializeComponent();
     this.DoubleBuffered = true;
     lettersDoc          = new LettersDoc();
     timer              = new Timer();
     timer.Interval     = 1000;
     timer.Tick        += timer_Tick;
     timerMove          = new Timer();
     timerMove.Interval = 100;
     timerMove.Tick    += timerMove_Tick;
     timer.Start();
     timerMove.Start();
 }
Example #2
0
File: Form1.cs Project: AtanasK/VP
 public Form1()
 {
     InitializeComponent();
     this.DoubleBuffered = true;
     lettersDoc = new LettersDoc();
     timer = new Timer();
     timer.Interval = 1000;
     timer.Tick += timer_Tick;
     timerMove = new Timer();
     timerMove.Interval = 100;
     timerMove.Tick += timerMove_Tick;
     timer.Start();
     timerMove.Start();
 }