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);
        }
Пример #3
0
        private void StripBackgroundHandler(object sender, StripBackgroundEventArgs args)
        {
            XmlSerializerHelper.Serialize(args.BackgroundStrippingParams, GetBackgroundStrippingParamsFilePath(_folderPath));

            SetStripBackgroundParams(args.BackgroundStrippingParams);
        }