private void buttonRecompute_Click(object sender, EventArgs e) { if (module == null) { return; } if (dirty) { module.OnGuiWindowChanged(); dirty = false; } module.UpdateRequest?.Invoke(module); }
private void buttonReset_Click(object sender, EventArgs e) { numericHue.Value = Convert.ToDecimal(0); textSaturation.Text = "1.0"; textValue.Text = "1.0"; textGamma.Text = "1.0"; checkParallel.Checked = true; checkSlow.Checked = false; module?.OnGuiWindowChanged(); dirty = false; }