public static bool Instance(MediaEncoderBusiness business, MediaEncoderSettings settings)
        {
            DeshakerWindow NewForm = new DeshakerWindow();

            NewForm.business       = business;
            NewForm.encodeSettings = settings;
            NewForm.ShowDialog();
            return(NewForm.Result);
        }
Exemplo n.º 2
0
 private void DeshakerSettingsButton_Click(object sender, RoutedEventArgs e)
 {
     if (Validate())
     {
         if (DeshakerWindow.Instance(business, encodeSettings) == true)
         {
             encodeSettings.DeshakerSettings.PrescanCompleted = false;
         }
     }
 }