.net Windows 窗体应用程序的颜色选择器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6596999/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 15:42:14  来源:igfitidea点击:

Color-picker for Windows Forms applications

.netwinformscolorscontrolscolor-picker

提问by Peter17

Is there a built-in color-picker in Windows Forms?

Windows 窗体中是否有内置的颜色选择器?

回答by George Johnston

Yes, in the common dialog control. This control contains a ColorDialogcolor picker.

是的,在通用对话框控件中。此控件包含一个ColorDialog颜色选择器。

http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog.aspx

http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog.aspx