Ejemplo n.º 1
0
        private void ProcessCommandline()
        {
            var commandLine = new WWAudioFilterCommandLine();

            if (commandLine.ParseCommandLine())
            {
                Application.Current.Shutdown();
                return;
            }
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            SetLocalizedTextToUI();
            Title = string.Format(CultureInfo.CurrentCulture, "WWAudioFilter version {0}", AssemblyVersion);

            mBackgroundWorker = new BackgroundWorker();
            mBackgroundWorker.WorkerReportsProgress = true;
            mBackgroundWorker.DoWork += new DoWorkEventHandler(Background_DoWork);
            mBackgroundWorker.ProgressChanged += new ProgressChangedEventHandler(Background_ProgressChanged);
            mBackgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(Background_RunWorkerCompleted);

            var commandLine = new WWAudioFilterCommandLine();
            if (commandLine.ParseCommandLine()) {
                Application.Current.Shutdown();
                return;
            }
        }
Ejemplo n.º 3
0
        public MainWindow()
        {
            InitializeComponent();

            SetLocalizedTextToUI();
            Title = string.Format(CultureInfo.CurrentCulture, "WWAudioFilter version {0}", AssemblyVersion);

            mBackgroundWorker = new BackgroundWorker();
            mBackgroundWorker.WorkerReportsProgress = true;
            mBackgroundWorker.DoWork             += new DoWorkEventHandler(Background_DoWork);
            mBackgroundWorker.ProgressChanged    += new ProgressChangedEventHandler(Background_ProgressChanged);
            mBackgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(Background_RunWorkerCompleted);

            var commandLine = new WWAudioFilterCommandLine();

            if (commandLine.ParseCommandLine())
            {
                Application.Current.Shutdown();
                return;
            }
        }