Пример #1
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            _logWindow = new LogWindow();
            _agent = new TradeAgent(this);
            _config = _agent.Config;
            _logWindow.SetConfig(_config);
            _character = _agent.ActiveCharacter;

            TimerOrderListRedraw.Elapsed += new System.Timers.ElapsedEventHandler(RedrawIntervalElapsedHandler);
            TimerOrderListRedraw.Start();
        }
Пример #2
0
        private void MainWindow_Load(object sender, EventArgs e)
        {
            _logWindow = new LogWindow();
            _agent     = new TradeAgent(this);
            _config    = _agent.Config;
            _logWindow.SetConfig(_config);
            _character = _agent.ActiveCharacter;

            TimerOrderListRedraw.Elapsed += new System.Timers.ElapsedEventHandler(RedrawIntervalElapsedHandler);
            TimerOrderListRedraw.Start();
        }