예제 #1
0
        private void ProcessCommandline()
        {
            var commandLine = new WWAudioFilterCommandLine();

            if (commandLine.ParseCommandLine())
            {
                Application.Current.Shutdown();
                return;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }