public mModifyBrightness(int Value) { Effect = new BrightnessAdjustmentFilter(); Effect.Level = Value; Effect.Enabled = true; filter = Effect; }
private Sf.Filter GetBrightnessFilter() { BrightnessAdjustmentFilter filter = new BrightnessAdjustmentFilter(); filter.Level = (int)Value; filter.Enabled = true; return(filter); }