Exemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            //

            KeyPressHandler = new KeyPressHandler();
            this.KeyDown += OnKeyDown;

            Timer mainTimer = new Timer();
            mainTimer.Interval = 30;
            mainTimer.Tick += mainTimer_Tick;
            mainTimer.Start();
        }
Exemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();

            //

            KeyPressHandler = new KeyPressHandler();
            this.KeyDown   += OnKeyDown;

            Timer mainTimer = new Timer();

            mainTimer.Interval = 30;
            mainTimer.Tick    += mainTimer_Tick;
            mainTimer.Start();
        }