Fork me on GitHub

ColorDialog组件设置字体颜色

1、设置颜色

        private void button4_Click(object sender, EventArgs e)
        {
            this.colorDialog1.ShowDialog();
            this.textBox1.ForeColor = this.colorDialog1.Color;
        }
posted @ 2013-08-14 17:58  种花生的读书人  阅读(351)  评论(0编辑  收藏  举报

该博客仅作为记录笔记,转载随意