예제 #1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            UIlocalupload localupload1 = new UIlocalupload();

            if (localupload1.ShowDialog() == DialogResult.OK)
            {
                this.bookimg.BackgroundImage = localupload1.CurrentImage;
            }
        }
예제 #2
0
        private void label2_Click(object sender, EventArgs e)//照片上传
        {
            UIlocalupload localupload1 = new UIlocalupload();

            if (localupload1.ShowDialog() == DialogResult.OK)
            {
                this.head.BackgroundImage = localupload1.CurrentImage;
                setphoto = true;
            }
        }