📅  最后修改于: 2022-03-11 14:49:12.237000             🧑  作者: Mango
private void textBox1_Enter(object sender, EventArgs e)
{
if (colorDialog1.ShowDialog() == DialogResult.OK)
{
textBox1.BackColor = colorDialog1.Color;
}
}