コード例 #1
0
        internal void InvokeStripBackgroundEvent(StripBackgroundEventArgs args)
        {
            var handler = StripBackgroundEvent;

            if (handler != null)
            {
                handler(this, args);
            }
        }
コード例 #2
0
        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);
        }