Esempio n. 1
0
        /// <summary>
        /// Initialize ServiceApplication.
        /// </summary>
        static ServiceApplication()
        {
            _baseLogic = new BaseLogic(new DataLogic(), new CommunicationLogic());
            _clock     = new System.Windows.Forms.Timer();

            _clock.Interval = 15000;

            _messageWindow = new ServiceMessageWindow();
            _messageWindow.OnRegisteredMessage += OnMessageWindowRegisteredMessage;
            _clock.Tick += OnTimerTick;
        }
Esempio n. 2
0
        /// <summary>
        /// Initialize ServiceApplication.
        /// </summary>
        static ServiceApplication()
        {
            _baseLogic = new BaseLogic(new DataLogic(), new CommunicationLogic());
            _clock = new System.Windows.Forms.Timer();

            _clock.Interval = 15000;

            _messageWindow = new ServiceMessageWindow();
            _messageWindow.OnRegisteredMessage += OnMessageWindowRegisteredMessage;
            _clock.Tick += OnTimerTick;
        }