示例#1
0
 private void Choose_UnpricedColor_Button_Click(object sender, EventArgs e)
 {
     if (Color_Dialog.ShowDialog() == DialogResult.OK)
     {
         this.Unpriced_Color_Preview_Label.BackColor = Color_Dialog.Color;
     }
 }
示例#2
0
        private void label2_Click(object sender, EventArgs e)
        {
            Color_Dialog.Color = label2.BackColor;

            if (Color_Dialog.ShowDialog(this.ParentForm) == DialogResult.OK)
            {
                this.SelectedColor = Color_Dialog.Color;
            }
        }