private void toolStripMenuItem1_Click(object sender, EventArgs e) { if (ColourHelper.EditColor(ref this._maxColour)) { this._core.Options.HeatMapMaxColour = this._maxColour; this.GenerateHeat(); } }
/// <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; } }