public static void NewLineSent(object sender, NewLineEvent.NewLineArgs e) { //// Log data to text box var message = e.Command.CommandString(); WriteLine(IdentSt + "Sent > " + Silence(message)); }
public static void NewLineReceived(object sender, NewLineEvent.NewLineArgs e) { var message = e.Command.CommandString(); //var message = CmdMessenger.CurrentReceivedLine; WriteLine(IdentSt + "Received > " + Silence(message)); }
// Log sent line to console private void NewLineSent(object sender, NewLineEvent.NewLineArgs e) { _chartForm.LogMessage(@"Sent > " + e.Command.CommandString()); // Console.WriteLine(@"Sent > " + e.Command.CommandString()); }
// Log sent line to console private void NewLineSent(object sender, NewLineEvent.NewLineArgs e) { Console.WriteLine(@"Sent > " + e.Command.CommandString()); }
// Log received line to console private void NewLineReceived(object sender, NewLineEvent.NewLineArgs e) { Console.WriteLine(@"Received > " + e.Command.CommandString()); }