ColorDialog组件设置字体颜色时间:2023-03-10 06:30:19 1、设置颜色 private void button4_Click(object sender, EventArgs e) { this.colorDialog1.ShowDialog(); this.textBox1.ForeColor = this.colorDialog1.Color; }