using PaintDotNet.Base; using PaintDotNet.CustomControl; using System; using System.Windows.Forms; namespace PaintDotNet.Data.Param { /// /// 颜色选择 /// public class ColorNumber : Args { public void numberParam_ValueChanged(object sender, EventArgs e) { this.Value = ((Panel)sender).BackColor.ToArgb(); } public ColorNumber() { this.Type = Dtryt.Color; } public int Color { get { return (int)this.Value; } set { this.Value = value; } } } }