private void CutTextMenuItem_Click(object sender, RoutedEventArgs e) { if (ByteViewer.CanCut()) { ByteViewer.Cut(); } }