private void OnClearing(object sender, RoutedEventArgs e) { if (ReferenceEquals(sender, ClearReceived)) { ReceivedMessage.Clear(); } else if (ReferenceEquals(sender, ClearClient)) { ClientMessage.Clear(); } }
private void OnClearing(object sender, RoutedEventArgs e) { if (ReferenceEquals(sender, ClearReceived)) { ReceivedMessage.Clear(); } else if (ReferenceEquals(sender, ClearClient)) { ClientMessage.Clear(); } }