コード例 #1
0
ファイル: Form1.cs プロジェクト: noblelady/ISTE-API-CSharp
        private void lvInterestR_Click(object sender, EventArgs e)
        {
            ListView       lv       = (ListView)sender;
            string         areaName = lv.SelectedItems[0].Text;
            ByInterestArea interest = research.byInterestArea.Find(x => x.areaName.Contains(areaName));

            ResearchForm researchForm = new ResearchForm(areaName, interest.citations);

            researchForm.ShowDialog();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: noblelady/ISTE-API-CSharp
        private void lvFacultyR_Click(object sender, EventArgs e)
        {
            ListView  lv      = (ListView)sender;
            string    facName = lv.SelectedItems[0].Text;
            ByFaculty fac     = research.byFaculty.Find(x => x.facultyName.Contains(facName));

            ResearchForm researchForm = new ResearchForm(facName, fac.citations);

            researchForm.ShowDialog();
        }