Exemple #1
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (ColourHelper.EditColor(ref this._maxColour))
     {
         this._core.Options.HeatMapMaxColour = this._maxColour;
         this.GenerateHeat();
     }
 }
Exemple #2
0
        /// <summary>
        /// Shows the colour chooser when the button is clicked.
        /// </summary>
        protected override void OnClick(EventArgs e)
        {
            Color colour = BackColor;

            if (ColourHelper.EditColor(ref colour))
            {
                BackColor = colour;
            }
        }