private void BackColer_Click(object sender, EventArgs e) { if (BackColor.ShowDialog() == DialogResult.OK) { NotepadText.BackColor = BackColor.Color; } }