Example #1
0
        public void colorPick_Click(object sender, EventArgs e)
        {
            // Show the color dialog.
            DialogResult result = colorDialog.ShowDialog();

            // See if user pressed ok.
            if (result == DialogResult.OK)
            {
                // Set form background to the selected color.
                base.ForeColor = colorDialog.Color;
                UserControllerManager.SetUserControllerColor(base.ForeColor);
            }
        }