ColorDialog组件设置字体颜色

1、设置颜色

        private void button4_Click(object sender, EventArgs e)

        {

            this.colorDialog1.ShowDialog();

            this.textBox1.ForeColor = this.colorDialog1.Color;

        }

你可能感兴趣的:(dialog)