public void OnProcessErrorEvent(object sender, ProcessErrorEventArgs e) { if (_dicTabPages.ContainsKey(e.strProject)) { _dicTabPages[e.strProject].processErrorEvent(e); } }
/// /// <summary> /// Used if "Receive-Error: Connection broke down". /// </summary> /// <param name="strTarget"> Target IP address </param> public void processErrorEvent(ProcessErrorEventArgs e) { _stopAll = true; //Adds IPs to stop list foreach (ListViewItem lvi in targetList.Items) { updateStatus(lvi.Name, e.msg); //Update status to "Connection Failed" } }
/// /// <summary> /// Used if "Receive-Error: Connection broke down". /// </summary> /// <param name="strTarget"> Target IP address </param> public void processErrorEvent(ProcessErrorEventArgs e) { _stopAll = true; //Adds IPs to stop list foreach(ListViewItem lvi in targetList.Items) { updateStatus(lvi.Name, e.msg); //Update status to "Connection Failed" } }