private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { UIlocalupload localupload1 = new UIlocalupload(); if (localupload1.ShowDialog() == DialogResult.OK) { this.bookimg.BackgroundImage = localupload1.CurrentImage; } }
private void label2_Click(object sender, EventArgs e)//照片上传 { UIlocalupload localupload1 = new UIlocalupload(); if (localupload1.ShowDialog() == DialogResult.OK) { this.head.BackgroundImage = localupload1.CurrentImage; setphoto = true; } }