private void CopyTextMenuItem_Click(object sender, RoutedEventArgs e) { if (ByteViewer.CanCopy()) { ByteViewer.Copy(); } }