Example #1
0
 private void pictureBoxGradient_MouseMove(object sender, MouseEventArgs e)
 {
     if (this.is_selecting_gradient)
     {
         this.handle_gradient_click(ColorSelectorLarge.point(e));
     }
 }
 private void button1_Click(object sender, System.EventArgs e)
 {
     this.colorform = new ColorSelectorLarge();
     this.colorform.Color = this.Color;
     var popup = new Popup(this.colorform, this);
     popup.AnimationSpeed = 0;
     popup.DropDownClosed += this.popup_DropDownClosed;
     popup.Show();
 }
Example #3
0
        private void button1_Click(object sender, System.EventArgs e)
        {
            this.colorform       = new ColorSelectorLarge();
            this.colorform.Color = this.Color;
            var popup = new Popup(this.colorform, this);

            popup.AnimationSpeed  = 0;
            popup.DropDownClosed += this.popup_DropDownClosed;
            popup.Show();
        }