Beispiel #1
0
        public static void Instance(MediaEncoderBusiness business, MediaEncoderDeshakerSegmentSettings settings)
        {
            DeshakerAdvancedWindow NewForm = new DeshakerAdvancedWindow();

            NewForm.business       = business;
            NewForm.encodeSettings = settings;
            NewForm.ShowDialog();
        }
        /// <summary>
        /// This gets called when the Deshaker process has started. Show the status window.
        /// </summary>
        //private void ExecutingDeshakePass(object sender, ExecutingProcessEventArgs e) {
        //    Application.Current.Dispatcher.Invoke(() => DeshakerPassWindow.Instance(business, encodeSettings, e.Process));
        //}

        private void AdvancedSettingsButton_Click(object sender, RoutedEventArgs e)
        {
            DeshakerAdvancedWindow.Instance(business, bindingSegmentSettings);
        }