void LightParseErrorReceived(DeliveryParseError error) { string[] item = new string[] { error.ErrorType().ToString(), error.TerminalName(), error.SourceApplication(), error.SourceHostname(), error.SourcePort().ToString(), error.Message() }; uxListErrors.Items.Add(new ListViewItem(item)); uxStatusText.Text = "Parse Error encountered."; }
void m_client_OnParseErrorReceived(DeliveryParseError error) { this.BeginInvoke(m_lightParseReceived, error); }