窗口表单应用程序中的颜色选择器控件 [英] color picker control in window forms application

查看:88
本文介绍了窗口表单应用程序中的颜色选择器控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Windows窗体应用程序中使用颜色选择器控件.如我们在Web应用程序中使用的,如果可能的话,然后建议我.

I want to use color picker control in windows forms application . as we use in web application , if is it possible ,then suggest me.

推荐答案

请参阅:
http://msdn.microsoft.com/en-us/library/system. windows.forms.colordialog.aspx [ ^ ].

尚不清楚您所说的拾色器"是什么意思.如果您需要一个控件来记住用户单击的像素的颜色,则可以使用System.Drawing.Bitmap.GetPixel
Please see:
http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog.aspx[^].

It''s not quite clear what do you mean by "color picker" though. If you need a control to remember a color of the pixel the user clicks on, it can be done using System.Drawing.Bitmap.GetPixel, http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.getpixel.aspx[^].

—SA


这篇关于窗口表单应用程序中的颜色选择器控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆