Ejemplo n.º 1
0
        private void buttonRecompute_Click(object sender, EventArgs e)
        {
            if (module == null)
            {
                return;
            }

            if (dirty)
            {
                module.OnGuiWindowChanged();
                dirty = false;
            }

            module.UpdateRequest?.Invoke(module);
        }
Ejemplo n.º 2
0
        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;
        }