internal void InvokeStripBackgroundEvent(StripBackgroundEventArgs args) { var handler = StripBackgroundEvent; if (handler != null) { handler(this, args); } }
private void Next(object sender, RoutedEventArgs e) { var args = new StripBackgroundEventArgs { BackgroundStrippingParams = GetParams() }; InvokeStripBackgroundEvent(args); }
private void StripBackgroundHandler(object sender, StripBackgroundEventArgs args) { XmlSerializerHelper.Serialize(args.BackgroundStrippingParams, GetBackgroundStrippingParamsFilePath(_folderPath)); SetStripBackgroundParams(args.BackgroundStrippingParams); }