Пример #1
0
        public Form1()
        {
            InitializeComponent();

            finder = new TableFinder();
            table = finder.FindTable();

            if ( table == null )
            {
                Console.WriteLine("Could not find table.");
                return;
            }

            tableTimer = new System.Timers.Timer(500);
            tableTimer.Elapsed += OnTimedEvent;
            tableTimer.Start();
        }
Пример #2
0
        public Form1()
        {
            InitializeComponent();

            finder = new TableFinder();
            table  = finder.FindTable();

            if (table == null)
            {
                Console.WriteLine("Could not find table.");
                return;
            }

            tableTimer          = new System.Timers.Timer(500);
            tableTimer.Elapsed += OnTimedEvent;
            tableTimer.Start();
        }