[c#]颜色对话框,如何保存16种颜色? [英] [c#] color dialog, how to save 16 colors?

查看:165
本文介绍了[c#]颜色对话框,如何保存16种颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何保存混合16种颜色?当我重新打开颜色对话框时,我必须重复选择。

How to save mixed 16 colors? When i re-open the color dialog i have to repeat selections.

推荐答案

第二次使用相同的实例。每次显示颜色对话框时都不要创建新实例。



如果要清除选择,请调用ColorDialog的选择方法。
use the same Instance second time. do not create new instance each time you display the color dialog.

If you want to clear the selection, call the selection method of ColorDialog.


这篇关于[c#]颜色对话框,如何保存16种颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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