Пример #1
0
        public Service1()
        {
            InitializeComponent();
            m_server_4 = new GTServer4();
            m_server_5 = new GTServer5();
#if !DEBUG
            LogHelper.UseEventLog(this.EventLog);
#endif
        }
Пример #2
0
        public Service1()
        {
            InitializeComponent();
            m_server_4 = new GTServer4();
            m_server_5 = new GTServer5();
#if !DEBUG
            LogHelper.UseEventLog(this.EventLog);
#endif
        }
Пример #3
0
 public void Start()
 {
     if (m_server_4 == null)
     {
         m_server_4 = new GTServer4();
     }
     if (m_server_5 == null)
     {
         m_server_5 = new GTServer5();
     }
     m_server_4.BeginPolling();
     m_server_5.BeginPolling();
 }