示例#1
0
 private void ResultsListView_OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (ResultsListView.SelectedItem is SearchResult result)
     {
         _logViewModel.BeginNewReadInSpecificFileAtByteLocation(result.ByteStartingPosition, result.LogFilePath);
     }
 }
示例#2
0
        private void CurrentFileComboBox_OnSelected(object sender, RoutedEventArgs e)
        {
            if (!CurrentFileComboBox.IsDropDownOpen && !CurrentFileComboBox.IsKeyboardFocused)
            {
                return;
            }

            LogViewModel.BeginNewReadInSpecificFileAtByteLocation(0, CurrentFileComboBox.SelectedItem as string);
        }