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

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