Пример #1
0
 private void citation_Click(object sender, EventArgs e)
 {
     foreach (ByFaculty thisFac in research.byFaculty)
     {
         if (facName == thisFac.username)
         {
             ResearchForm fR = new ResearchForm(thisFac);
             fR.Show();
         }
     }
 }
Пример #2
0
        private void LabR_Click(object sender, EventArgs e)
        {
            Label  myButton = sender as Label;
            String buffer   = myButton.Text;

            foreach (ByInterestArea me in research.byInterestArea)
            {
                if (me.areaName == buffer)
                {
                    ResearchForm fR = new ResearchForm(me);
                    fR.Show();
                }
            }
        }