<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp_by_API%2FSystem.Windows.Forms%2FColorDialog</id>
		<title>Csharp/C Sharp by API/System.Windows.Forms/ColorDialog - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp_by_API%2FSystem.Windows.Forms%2FColorDialog"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/ColorDialog&amp;action=history"/>
		<updated>2026-04-30T10:32:33Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/ColorDialog&amp;diff=4150&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/ColorDialog&amp;diff=4150&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/ColorDialog&amp;diff=4151&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/ColorDialog&amp;diff=4151&amp;oldid=prev"/>
				<updated>2010-05-26T12:09:38Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==ColorDialog.AllowFullOpen==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
    public class ColorFontDialog : System.Windows.Forms.Form&lt;br /&gt;
    {&lt;br /&gt;
        private System.Windows.Forms.Button button1;&lt;br /&gt;
        private System.Windows.Forms.Button button2;&lt;br /&gt;
        private System.Windows.Forms.Label label1;&lt;br /&gt;
        public ColorFontDialog()&lt;br /&gt;
        {&lt;br /&gt;
            this.Text = &amp;quot;Font and Color Dialogs&amp;quot;;&lt;br /&gt;
            this.button1.Text = &amp;quot;&amp;amp;Font&amp;quot;;&lt;br /&gt;
            this.button2.Text = &amp;quot;&amp;amp;Color&amp;quot;;&lt;br /&gt;
            this.label1.Text = &amp;quot;Change my FONT and COLOR!&amp;quot;;&lt;br /&gt;
            this.button1 = new System.Windows.Forms.Button();&lt;br /&gt;
            this.button2 = new System.Windows.Forms.Button();&lt;br /&gt;
            this.label1 = new System.Windows.Forms.Label();&lt;br /&gt;
            this.SuspendLayout();&lt;br /&gt;
            this.button1.Location = new System.Drawing.Point(24, 8);&lt;br /&gt;
            this.button1.Text = &amp;quot;button1&amp;quot;;&lt;br /&gt;
            this.button1.Click += new System.EventHandler(this.button1_Click_1);&lt;br /&gt;
            this.button2.Location = new System.Drawing.Point(120, 8);&lt;br /&gt;
            this.button2.Text = &amp;quot;button2&amp;quot;;&lt;br /&gt;
            this.button2.Click += new System.EventHandler(this.button2_Click);&lt;br /&gt;
            this.label1.Location = new System.Drawing.Point(8, 48);&lt;br /&gt;
            this.label1.Size = new System.Drawing.Size(280, 48);&lt;br /&gt;
            this.label1.TabIndex = 2;&lt;br /&gt;
            this.label1.Text = &amp;quot;label1&amp;quot;;&lt;br /&gt;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
            this.ClientSize = new System.Drawing.Size(292, 101);&lt;br /&gt;
            this.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                          this.label1,&lt;br /&gt;
                                                                          this.button2,&lt;br /&gt;
                                                                          this.button1});&lt;br /&gt;
            this.Name = &amp;quot;ColorFontDialog&amp;quot;;&lt;br /&gt;
            this.Text = &amp;quot;ColorFontDialog&amp;quot;;&lt;br /&gt;
            this.ResumeLayout(false);&lt;br /&gt;
        }&lt;br /&gt;
        static void Main() &lt;br /&gt;
        {&lt;br /&gt;
            Application.Run(new ColorFontDialog());&lt;br /&gt;
        }&lt;br /&gt;
        private void button2_Click(object sender, System.EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            ColorDialog cd = new ColorDialog();&lt;br /&gt;
            cd.AllowFullOpen = true;   // allow custom colors&lt;br /&gt;
            cd.FullOpen = true;   // shows custom colors automatically&lt;br /&gt;
            cd.Color = Color.DarkBlue;  // sets the custom color&lt;br /&gt;
            if(cd.ShowDialog() == System.Windows.Forms.DialogResult.OK)&lt;br /&gt;
                this.label1.ForeColor = cd.Color;&lt;br /&gt;
        }&lt;br /&gt;
        private void button1_Click_1(object sender, System.EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            FontDialog fd = new FontDialog();&lt;br /&gt;
            fd.ShowColor = true;&lt;br /&gt;
            fd.Color = Color.Blue;&lt;br /&gt;
            fd.ShowApply = true;   // ColorDialog does not provide this option!!!&lt;br /&gt;
            fd.Apply += new EventHandler(ApplyFont);&lt;br /&gt;
            if(fd.ShowDialog() != System.Windows.Forms.DialogResult.Cancel)&lt;br /&gt;
                ChangeFont(fd);&lt;br /&gt;
        }&lt;br /&gt;
        private void ApplyFont(object o, EventArgs ea)&lt;br /&gt;
        {&lt;br /&gt;
            ChangeFont((FontDialog)o);&lt;br /&gt;
        }&lt;br /&gt;
        private void ChangeFont(FontDialog fd)&lt;br /&gt;
        {&lt;br /&gt;
            this.label1.Font = fd.Font;&lt;br /&gt;
            this.label1.ForeColor = fd.Color;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ColorDialog.AnyColor==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
  using System;&lt;br /&gt;
  using System.Drawing;&lt;br /&gt;
  using System.Collections;&lt;br /&gt;
  using System.ruponentModel;&lt;br /&gt;
  using System.Windows.Forms;&lt;br /&gt;
  using System.Data;&lt;br /&gt;
  public class Test&lt;br /&gt;
  {&lt;br /&gt;
    static void Main() &lt;br /&gt;
    {&lt;br /&gt;
        System.Windows.Forms.ColorDialog colorDlg = new System.Windows.Forms.ColorDialog();    &lt;br /&gt;
      colorDlg.AnyColor = true;&lt;br /&gt;
      colorDlg.ShowHelp = true;  &lt;br /&gt;
      if (colorDlg.ShowDialog() != DialogResult.Cancel)&lt;br /&gt;
      {&lt;br /&gt;
        string strARGB = colorDlg.Color.ToString();&lt;br /&gt;
        Console.WriteLine(strARGB);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ColorDialog.Color==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class MainForm : Form {&lt;br /&gt;
    private ColorDialog colorDlg;&lt;br /&gt;
    private Color currColor = Color.DimGray;&lt;br /&gt;
    public MainForm() {&lt;br /&gt;
        CenterToScreen();&lt;br /&gt;
        colorDlg = new ColorDialog();&lt;br /&gt;
        this.MouseDown += new MouseEventHandler(MainForm_MouseDown);&lt;br /&gt;
    }&lt;br /&gt;
    void MainForm_MouseDown(object sender, MouseEventArgs e) {&lt;br /&gt;
        if (colorDlg.ShowDialog() != DialogResult.Cancel) {&lt;br /&gt;
            currColor = colorDlg.Color;&lt;br /&gt;
            this.BackColor = currColor;&lt;br /&gt;
            string strARGB = colorDlg.Color.ToString();&lt;br /&gt;
            MessageBox.Show(strARGB, &amp;quot;Color is:&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ColorDialog.CustomColor==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
        &lt;br /&gt;
using System;        &lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
&lt;br /&gt;
public class ColorDialogWithCustomColor{&lt;br /&gt;
    public static void Main(){&lt;br /&gt;
    ColorDialog dlg=new ColorDialog();&lt;br /&gt;
    dlg.FullOpen = true;&lt;br /&gt;
    // Define the first five of the custom color settings&lt;br /&gt;
       // 0xAARRGGBB where AA is alpha, &lt;br /&gt;
                        // RR is red, &lt;br /&gt;
                     // GG is green &lt;br /&gt;
                     // BB is blue &lt;br /&gt;
    // expressed as the hexadecimal byte equivalent&lt;br /&gt;
    dlg.CustomColors = new int[5]{0x00ff8040, 0x00c256fe,&lt;br /&gt;
               0x00aa2005, 0x0004f002, 0x002194b5};&lt;br /&gt;
    dlg.ShowDialog();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ColorDialog.FullOpen==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
    public class ColorFontDialog : System.Windows.Forms.Form&lt;br /&gt;
    {&lt;br /&gt;
        private System.Windows.Forms.Button button1;&lt;br /&gt;
        private System.Windows.Forms.Button button2;&lt;br /&gt;
        private System.Windows.Forms.Label label1;&lt;br /&gt;
        public ColorFontDialog()&lt;br /&gt;
        {&lt;br /&gt;
            this.Text = &amp;quot;Font and Color Dialogs&amp;quot;;&lt;br /&gt;
            this.button1.Text = &amp;quot;&amp;amp;Font&amp;quot;;&lt;br /&gt;
            this.button2.Text = &amp;quot;&amp;amp;Color&amp;quot;;&lt;br /&gt;
            this.label1.Text = &amp;quot;Change my FONT and COLOR!&amp;quot;;&lt;br /&gt;
            this.button1 = new System.Windows.Forms.Button();&lt;br /&gt;
            this.button2 = new System.Windows.Forms.Button();&lt;br /&gt;
            this.label1 = new System.Windows.Forms.Label();&lt;br /&gt;
            this.SuspendLayout();&lt;br /&gt;
            this.button1.Location = new System.Drawing.Point(24, 8);&lt;br /&gt;
            this.button1.Text = &amp;quot;button1&amp;quot;;&lt;br /&gt;
            this.button1.Click += new System.EventHandler(this.button1_Click_1);&lt;br /&gt;
            this.button2.Location = new System.Drawing.Point(120, 8);&lt;br /&gt;
            this.button2.Text = &amp;quot;button2&amp;quot;;&lt;br /&gt;
            this.button2.Click += new System.EventHandler(this.button2_Click);&lt;br /&gt;
            this.label1.Location = new System.Drawing.Point(8, 48);&lt;br /&gt;
            this.label1.Size = new System.Drawing.Size(280, 48);&lt;br /&gt;
            this.label1.TabIndex = 2;&lt;br /&gt;
            this.label1.Text = &amp;quot;label1&amp;quot;;&lt;br /&gt;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
            this.ClientSize = new System.Drawing.Size(292, 101);&lt;br /&gt;
            this.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                          this.label1,&lt;br /&gt;
                                                                          this.button2,&lt;br /&gt;
                                                                          this.button1});&lt;br /&gt;
            this.Name = &amp;quot;ColorFontDialog&amp;quot;;&lt;br /&gt;
            this.Text = &amp;quot;ColorFontDialog&amp;quot;;&lt;br /&gt;
            this.ResumeLayout(false);&lt;br /&gt;
        }&lt;br /&gt;
        static void Main() &lt;br /&gt;
        {&lt;br /&gt;
            Application.Run(new ColorFontDialog());&lt;br /&gt;
        }&lt;br /&gt;
        private void button2_Click(object sender, System.EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            ColorDialog cd = new ColorDialog();&lt;br /&gt;
            cd.AllowFullOpen = true;   // allow custom colors&lt;br /&gt;
            cd.FullOpen = true;   // shows custom colors automatically&lt;br /&gt;
            cd.Color = Color.DarkBlue;  // sets the custom color&lt;br /&gt;
            if(cd.ShowDialog() == System.Windows.Forms.DialogResult.OK)&lt;br /&gt;
                this.label1.ForeColor = cd.Color;&lt;br /&gt;
        }&lt;br /&gt;
        private void button1_Click_1(object sender, System.EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            FontDialog fd = new FontDialog();&lt;br /&gt;
            fd.ShowColor = true;&lt;br /&gt;
            fd.Color = Color.Blue;&lt;br /&gt;
            fd.ShowApply = true;   // ColorDialog does not provide this option!!!&lt;br /&gt;
            fd.Apply += new EventHandler(ApplyFont);&lt;br /&gt;
            if(fd.ShowDialog() != System.Windows.Forms.DialogResult.Cancel)&lt;br /&gt;
                ChangeFont(fd);&lt;br /&gt;
        }&lt;br /&gt;
        private void ApplyFont(object o, EventArgs ea)&lt;br /&gt;
        {&lt;br /&gt;
            ChangeFont((FontDialog)o);&lt;br /&gt;
        }&lt;br /&gt;
        private void ChangeFont(FontDialog fd)&lt;br /&gt;
        {&lt;br /&gt;
            this.label1.Font = fd.Font;&lt;br /&gt;
            this.label1.ForeColor = fd.Color;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ColorDialog.MouseDown==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class MainForm : Form {&lt;br /&gt;
    private ColorDialog colorDlg;&lt;br /&gt;
    private Color currColor = Color.DimGray;&lt;br /&gt;
    public MainForm() {&lt;br /&gt;
        CenterToScreen();&lt;br /&gt;
        colorDlg = new ColorDialog();&lt;br /&gt;
        this.MouseDown += new MouseEventHandler(MainForm_MouseDown);&lt;br /&gt;
    }&lt;br /&gt;
    void MainForm_MouseDown(object sender, MouseEventArgs e) {&lt;br /&gt;
        if (colorDlg.ShowDialog() != DialogResult.Cancel) {&lt;br /&gt;
            currColor = colorDlg.Color;&lt;br /&gt;
            this.BackColor = currColor;&lt;br /&gt;
            string strARGB = colorDlg.Color.ToString();&lt;br /&gt;
            MessageBox.Show(strARGB, &amp;quot;Color is:&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ColorDialog.ShowDialog()==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
&lt;br /&gt;
   public class ShowColorsComplex : System.Windows.Forms.Form&lt;br /&gt;
   {&lt;br /&gt;
      private System.Windows.Forms.Button backgroundColorButton;&lt;br /&gt;
      private System.Windows.Forms.Button textColorButton;&lt;br /&gt;
      public ShowColorsComplex()&lt;br /&gt;
      {&lt;br /&gt;
         InitializeComponent();&lt;br /&gt;
      }&lt;br /&gt;
      private void InitializeComponent()&lt;br /&gt;
      {&lt;br /&gt;
         this.backgroundColorButton = new System.Windows.Forms.Button();&lt;br /&gt;
         this.textColorButton = new System.Windows.Forms.Button();&lt;br /&gt;
         this.SuspendLayout();&lt;br /&gt;
         // &lt;br /&gt;
         // backgroundColorButton&lt;br /&gt;
         // &lt;br /&gt;
         this.backgroundColorButton.Location = new System.Drawing.Point(16, 16);&lt;br /&gt;
         this.backgroundColorButton.Name = &amp;quot;backgroundColorButton&amp;quot;;&lt;br /&gt;
         this.backgroundColorButton.Size = new System.Drawing.Size(264, 32);&lt;br /&gt;
         this.backgroundColorButton.TabIndex = 0;&lt;br /&gt;
         this.backgroundColorButton.Text = &amp;quot;Change Background Color&amp;quot;;&lt;br /&gt;
         this.backgroundColorButton.Click += new System.EventHandler(this.backgroundColorButton_Click);&lt;br /&gt;
         // &lt;br /&gt;
         // textColorButton&lt;br /&gt;
         // &lt;br /&gt;
         this.textColorButton.Location = new System.Drawing.Point(16, 64);&lt;br /&gt;
         this.textColorButton.Name = &amp;quot;textColorButton&amp;quot;;&lt;br /&gt;
         this.textColorButton.Size = new System.Drawing.Size(264, 32);&lt;br /&gt;
         this.textColorButton.TabIndex = 1;&lt;br /&gt;
         this.textColorButton.Text = &amp;quot;Change Text Color&amp;quot;;&lt;br /&gt;
         this.textColorButton.Click += new System.EventHandler(this.textColorButton_Click);&lt;br /&gt;
         // &lt;br /&gt;
         // ShowColorsComplex&lt;br /&gt;
         // &lt;br /&gt;
         this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
         this.ClientSize = new System.Drawing.Size(292, 109);&lt;br /&gt;
         this.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                      this.textColorButton,&lt;br /&gt;
                                                                      this.backgroundColorButton});&lt;br /&gt;
         this.Name = &amp;quot;ShowColorsComplex&amp;quot;;&lt;br /&gt;
         this.Text = &amp;quot;ShowColorsComplex&amp;quot;;&lt;br /&gt;
         this.ResumeLayout(false);&lt;br /&gt;
      }&lt;br /&gt;
      static void Main() &lt;br /&gt;
      {&lt;br /&gt;
         Application.Run( new ShowColorsComplex() );&lt;br /&gt;
      }&lt;br /&gt;
      private void textColorButton_Click(object sender, System.EventArgs e ){&lt;br /&gt;
         ColorDialog colorChooser = new ColorDialog();&lt;br /&gt;
         DialogResult result;&lt;br /&gt;
         result = colorChooser.ShowDialog();&lt;br /&gt;
         if ( result == DialogResult.Cancel )&lt;br /&gt;
            return;&lt;br /&gt;
         &lt;br /&gt;
         backgroundColorButton.ForeColor = colorChooser.Color;&lt;br /&gt;
         textColorButton.ForeColor = colorChooser.Color;&lt;br /&gt;
      }&lt;br /&gt;
      private void backgroundColorButton_Click(object sender, System.EventArgs e ){&lt;br /&gt;
         ColorDialog colorChooser = new ColorDialog();&lt;br /&gt;
         DialogResult result;&lt;br /&gt;
         colorChooser.FullOpen = true;&lt;br /&gt;
         result = colorChooser.ShowDialog();&lt;br /&gt;
         if ( result == DialogResult.Cancel )&lt;br /&gt;
            return;&lt;br /&gt;
         this.BackColor = colorChooser.Color;&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ColorDialog.ShowHelp==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
  using System;&lt;br /&gt;
  using System.Drawing;&lt;br /&gt;
  using System.Collections;&lt;br /&gt;
  using System.ruponentModel;&lt;br /&gt;
  using System.Windows.Forms;&lt;br /&gt;
  using System.Data;&lt;br /&gt;
  public class Test&lt;br /&gt;
  {&lt;br /&gt;
    static void Main() &lt;br /&gt;
    {&lt;br /&gt;
        System.Windows.Forms.ColorDialog colorDlg = new System.Windows.Forms.ColorDialog();    &lt;br /&gt;
      colorDlg.AnyColor = true;&lt;br /&gt;
      colorDlg.ShowHelp = true;  &lt;br /&gt;
      if (colorDlg.ShowDialog() != DialogResult.Cancel)&lt;br /&gt;
      {&lt;br /&gt;
        string strARGB = colorDlg.Color.ToString();&lt;br /&gt;
        Console.WriteLine(strARGB);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>