private void panelCurve_Click(object sender, EventArgs e)
        {
            CurveEditor editor = new CurveEditor(CurveValue);

            if (editor.ShowDialog() == DialogResult.OK)
            {
                CurveValue = editor.Curve;
            }
        }
Exemplo n.º 2
0
 private void buttonSetupCurve_Click(object sender, EventArgs e)
 {
     using (CurveEditor editor = new CurveEditor(_curve)) {
         if (editor.ShowDialog() == DialogResult.OK)
         {
             _curve           = editor.Curve;
             buttonOk.Enabled = true;
         }
     }
 }
Exemplo n.º 3
0
 public override bool Setup()
 {
     using (CurveEditor editor = new CurveEditor(_data.Curve)) {
         if (editor.ShowDialog() == DialogResult.OK)
         {
             DimmingCurve = editor.Curve;
             _CreateOutputs();
             return(true);
         }
     }
     return(false);
 }