private void listView_MouseDoubleClick(object sender, MouseButtonEventArgs e) { DetailsInformation detailsinformation = DetailsInformation.GetInstace(); var count = listView.SelectedIndex; detailsinformation.UpdateStatus(appidArray[count], nameArray[count]); var win = new DetailsAppWindow(); win.Show(); }
private void tbGameinfo_Click(object sender, RoutedEventArgs e) { DetailsInformation detailsinformation = DetailsInformation.GetInstace(); var count = listView.SelectedIndex; detailsinformation.UpdateStatus(array[count, 0], array[count, 1]); var win = new DetailsAppWindow(); win.Show(); }