ColorDialog.ShowHelp : ColorDialog « System.Windows.Forms « C# / C Sharp by API






ColorDialog.ShowHelp

 

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

  public class Test
  {
    static void Main() 
    {
        System.Windows.Forms.ColorDialog colorDlg = new System.Windows.Forms.ColorDialog();    
      colorDlg.AnyColor = true;
      colorDlg.ShowHelp = true;  

      if (colorDlg.ShowDialog() != DialogResult.Cancel)
      {
        string strARGB = colorDlg.Color.ToString();
        Console.WriteLine(strARGB);
      }

    }

  }

   
  








Related examples in the same category

1.ColorDialog.AllowFullOpen
2.ColorDialog.AnyColor
3.ColorDialog.Color
4.ColorDialog.CustomColor
5.ColorDialog.FullOpen
6.ColorDialog.MouseDown
7.ColorDialog.ShowDialog()