/// <summary>Shows the selected update details.</summary> /// <param name="sender">The object that called the event.</param> /// <param name="e">The <c>System.Windows.Input.MouseButtonEventArgs</c> instance containing the event data.</param> void ShowDetails(object sender, MouseButtonEventArgs e) { if (e.ClickCount != 2 || this.lvHiddenUpdates.SelectedIndex == -1) { return; } var details = new UpdateDetails(); details.ShowDialog(this.hiddenUpdates[this.lvHiddenUpdates.SelectedIndex]); }
/// <summary>Shows the selected update details.</summary> /// <param name="sender">The object that called the event.</param> /// <param name="e">The <c>System.Windows.RoutedEventArgs</c> instance containing the event data.</param> void ShowDetailsDialog(object sender, RoutedEventArgs e) { var details = new UpdateDetails(); details.ShowDialog(this.updateHistory[this.lvUpdateHistory.SelectedIndex]); }
/// <summary>Shows the selected update details.</summary> /// <param name="sender">The object that called the event.</param> /// <param name="e">The <c>System.Windows.Input.MouseButtonEventArgs</c> instance containing the event data.</param> void ShowDetails(object sender, MouseButtonEventArgs e) { if (e.ClickCount != 2 || this.lvUpdateHistory.SelectedIndex == -1) { return; } var details = new UpdateDetails(); details.ShowDialog(this.updateHistory[this.lvUpdateHistory.SelectedIndex]); }
/// <summary>Shows the selected update details.</summary> /// <param name="sender">The object that called the event.</param> /// <param name="e">The <c>System.Windows.RoutedEventArgs</c> instance containing the event data.</param> void ShowDetailsDialog(object sender, RoutedEventArgs e) { var details = new UpdateDetails(); details.ShowDialog(this.hiddenUpdates[this.lvHiddenUpdates.SelectedIndex]); }