Exemplo n.º 1
0
 /// <summary>
 /// Form loaded event handler
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainForm_Load(object sender, EventArgs e)
 {
     _logViewer = new CNetLogViewerClass();
     _logViewer.OnClientFound    += new _INetLogViewerEvents_OnClientFoundEventHandler(_logViewer_OnClientFound);
     _logViewer.OnClientTimedOut += new _INetLogViewerEvents_OnClientTimedOutEventHandler(_logViewer_OnClientTimedOut);
     _logViewer.Start();
     TabObjectsCollection.Instance.TabControl = mainTabControl;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Form loaded event handler
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainForm_Load(object sender, EventArgs e)
 {
     _logViewer = new CNetLogViewerClass();
     _logViewer.OnClientFound += new _INetLogViewerEvents_OnClientFoundEventHandler(_logViewer_OnClientFound);
     _logViewer.OnClientTimedOut += new _INetLogViewerEvents_OnClientTimedOutEventHandler(_logViewer_OnClientTimedOut);
     _logViewer.Start();
     TabObjectsCollection.Instance.TabControl = mainTabControl;
 }