//阴影 private void skinHScrollBar1_Scroll(object sender, ScrollEventArgs e) { if (curBitmap != null) { shadow = skinHScrollBar1.Value; highlight = skinHScrollBar2.Value; textBox1.Text = shadow.ToString(); textBox2.Text = highlight.ToString(); tmp = zPhoto.ShadowAdjust(curBitmap, shadow, 100); pictureBox1.Image = (Image)zPhoto.HighlightAdjust(tmp, highlight, 100); } }