예제 #1
0
파일: UISearch.cs 프로젝트: ShingleJ/PinHu
 //点击详情
 private void btnToKnowOther_Click(object sender, EventArgs e)
 {
         Button btndetail = sender as Button;
         string userName = btndetail.Name;
         UIOtherHomepage otherHomepage = new UIOtherHomepage(userName);
         otherHomepage.Show();
         this.Close();
 }
예제 #2
0
 //点击头像
 private void pictbox_Click(object sender, EventArgs e)
 {
     PictureBox pibox = sender as PictureBox;
     string userName = pibox.Name;
     UIOtherHomepage otherHomepage = new UIOtherHomepage(userName);
     otherHomepage.Show();
 }