private void Button2_Click(object sender, System.EventArgs e) { ColorManager frm = new ColorManager(); frm.Color = Label1.BackColor; if (frm.ShowDialog(this) == DialogResult.OK) { Label1.BackColor = frm.Color; } frm.Dispose(); }