Пример #1
0
 //red
 private void hScrollBar1_Scroll(object sender, ScrollEventArgs e)
 {
     if (pictureBox1.Image != null)
     {
         textBox1.Text     = hScrollBar1.Value.ToString();
         kr                = hScrollBar1.Value;
         kg                = hScrollBar2.Value;
         kb                = hScrollBar3.Value;
         channel           = comboBox1.SelectedIndex;
         pictureBox1.Image = (Image)zPhoto.ChannelMixProcess(curBitmap, channel, kr, kg, kb, N, singleColor, false);
     }
 }