ColinOL

A Small Website

用户工具

站点工具


wiki:csharp:winform-ysxq-an

颜色选取按钮

ColorDialog colorDialog1 = new ColorDialog();
if (colorDialog1.ShowDialog() == DialogResult.OK)
{
    //this.btnSelectColor.BackColor = colorDialog1.Color;
    this.tpZZ_LV_layerfield.SelectedItems[0].BackColor = colorDialog1.Color;
}
wiki/csharp/winform-ysxq-an.txt · 最后更改: 2018/02/03 20:42 (外部编辑)