private void SenderClient_Online(object sender, StationComputerEventArgs args) { try { this.BeginInvoke(new RunControllerProcess(DisplayResponse), args); } catch (Exception e) { MessageBox.Show(e.Message); } }
private void SCClient_Invalid(object sender, StationComputerEventArgs e) { }
public void DisplayResponse(StationComputerEventArgs args) { txtRecieve.Text = string.Format("{1} \n {0}", txtRecieve.Text, args.Response.ToString()); }