A Revolution
From the Norm,
Towards Greatness
Home » » CSharp (C#): How to use a Color Picker Button (Basic Intro)

CSharp (C#): How to use a Color Picker Button (Basic Intro)

Written By Unknown on Wednesday, June 1, 2016 | 6:54 PM

CSharp (C#): How to use a Color Picker Button (Basic Intro)

Hello fellow programmers and welcome to a great hump day to do some fantastic coding. Today we are going to learn how to use the Color Picker Button from the Dot Net Bar 2.0! This is a wonderful simple tool that will save you time and also make your software look very sexy.

Watch my YouTube video above to learn how to exactly do everything, I actually recommend you to watch it because it will show you how to add this awesome simple tool to your software. 

You must also make sure you have Dot Net Bar 2.0 installed, before watching the video. 

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  11. namespace CSharp___Ep_3_Into_to_ColorPickerButton
  12. {
  13.     public partial class Form1 : Form
  14.     {
  15.         public Form1()
  16.         {
  17.             InitializeComponent();
  18.         }
  20.         private void colorPickerButton1_SelectedColorChanged(object sender, EventArgs e)
  21.         {
  22.             panel1.BackColor = colorPickerButton1.SelectedColor;
  23.             label1.ForeColor = colorPickerButton1.SelectedColor;
  24.         }
  25.     }
  26. }

Thank you very much for reading / watching my content today and have another great hump day!


About Unknown


  1. Thanks for giving great kind of information. So useful and practical for me. Thanks for your excellent blog, nice work keep it up thanks for sharing the knowledge.

    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery

  2. Form Pilot - form filler software. It designed for filling in paper forms (of any type) on your computer. It makes typewriters obsolete.Exif Editor Windows

  3. CLO Standalone Crack helps you adjust the quality and range of each to make your 3D canvases smoother and more impressive. It has all the new and unique .Clo Standalone 7.0 228