/// <summary> /// Instantiates IpcTreeWebWindowThread. Contains threaded IPC event listener /// that synchronizes Winform tree view, and displays or caches data from IPC event /// </summary> /// <param name="ipcType"></param> /// <param name="tsslStatus"></param> /// <param name="utilsBus"></param> /// <param name="func"></param> public IpcTreeWebWindowThread(string ipcType , System.Windows.Forms.ToolStripStatusLabel tsslStatus , Niawa.Utilities.UtilsServiceBus utilsBus , IpcTreeWebWindowFunctions func) { _ipcType = ipcType; _tsslStatus = tsslStatus; _utilsBus = utilsBus; _func = func; }
private void IpcTreeWebWindow_Load(object sender, EventArgs e) { this.Text = "IPC Tree Event Viewer"; //_ipcEvents.Add("TcpTransmitter"); _ipcEvents.Add("NiawaAdHocNetworkAdapter"); _ipcEvents.Add("TcpReceiver"); //_ipcEvents.Add("TcpReceiverMsg"); _ipcEvents.Add("TcpSession"); _ipcEvents.Add("TcpSessionManager"); //_ipcEvents.Add("TcpSessionManagerMsg"); _ipcEvents.Add("TcpTransmitter"); //_ipcEvents.Add("TcpTransmitterMsg"); _ipcEvents.Add("UdpReceiver"); //_ipcEvents.Add("UdpReceiverMsg"); _ipcEvents.Add("UdpTransmitter"); //_ipcEvents.Add("UdpTransmitterMsg"); InitializeWebBrowser(); Show(); func = new IpcTreeWebWindowFunctions(_ipcEvents, this, _mdiWindow, this.tsslStatus, treeView1); //MessageBox.Show("Initialize"); func.Initialize(); //MessageBox.Show("Start Monitor"); func.StartMonitor(); }