Last Updated: July 08, 2016
·
119
· Bahaa Ibrahim

Programming code to control colors degree| :D

http://teck-point.net/wp-content/uploads/2016/03/Capture1.jpg
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{

}

private void label3_Click(object sender, EventArgs e)
{

}

private void hScrollBar1_Scroll(object sender, ScrollEventArgs e)
{
this.BackColor=Color.FromArgb(hScrollBar1.Value,hScrollBar2.Value,hScrollBar3.Value);
}

private void hScrollBar2_Scroll(object sender, ScrollEventArgs e)
{
this.BackColor=Color.FromArgb(hScrollBar1.Value,hScrollBar2.Value,hScrollBar3.Value);
}

private void hScrollBar3_Scroll(object sender, ScrollEventArgs e)
{
this.BackColor=Color.FromArgb(hScrollBar1.Value,hScrollBar2.Value,hScrollBar3.Value);
}
}
}
For more codes and programs visit http://sh.st/HIo4y