Set default color : ColorDialog : GUI Windows Forms C# Examples


C# Examples » GUI Windows Forms » ColorDialog »

 

Set default color








    
using  System;
using  System.Drawing;
using  System.ComponentModel;
using  System.Windows.Forms;


public  class  ColorDialogInitColor{

        public  static  void  Main(){
        ColorDialog  dlg=new  ColorDialog();
                dlg.Color  =  Color.PaleGoldenrod;
        dlg.ShowDialog();
    }

}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo GUI Windows Forms
» ColorDialog