private void btnCumulativeCount_Click(object sender, RoutedEventArgs e) { if (pc != null) { CumulativeCount cumulativeCount = new CumulativeCount(pc.GetCumulativePublicationCount().ToList()); cumulativeCount.Show(); } }
private void Button_Click(object sender, RoutedEventArgs e) { Researcher researcherSel = (Researcher)lbResearcher.SelectedItem; if (researcherSel == null) { return; } CumulativeCount w2 = new CumulativeCount(); w2.id = researcherSel.Id; w2.Show(); }