private void button1_Click(object sender, RoutedEventArgs e)
 {
     if(!CheckCodec())
       {
     if (MessageBox.Show(TranslationStrings.MsgInstallXvidCodec, TranslationStrings.LabelVideoCodecProblem, MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
     {
       System.Diagnostics.Process.Start("http://www.xvid.org/Downloads.15.0.html");
     }
     return;
       }
       Hide();
       CreateTimeLapseWnd wnd = new CreateTimeLapseWnd();
       wnd.ShowDialog();
       Show();
 }
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            if (!CheckCodec())
            {
                if (MessageBox.Show(TranslationStrings.MsgInstallXvidCodec, TranslationStrings.LabelVideoCodecProblem, MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
                {
                    System.Diagnostics.Process.Start("http://www.xvid.org/Downloads.15.0.html");
                }
                return;
            }
            Hide();
            CreateTimeLapseWnd wnd = new CreateTimeLapseWnd();

            wnd.ShowDialog();
            Show();
        }