Beispiel #1
0
        private void ThreadCompleteEnableControls()
        {
            _mediaTesterThread = null;
            _mediaTester       = null;

            EnableControls();
        }
Beispiel #2
0
        private void InitializeMediaTester()
        {
            UpdateOptionsFromUi();
            _mediaTester                   = new MediaTesterLib.MediaTester(_mediaTesterOptions);
            _mediaTester.OnException      += OnMediaTesterException;
            _mediaTester.AfterQuickTest   += AfterQuickTest;
            _mediaTester.AfterVerifyBlock += AfterVerifyBlock;
            _mediaTester.AfterWriteBlock  += AfterWriteBlock;

            ClearLog(null, null);
            WriteLog(_mediaTester, $"MediaTester v{Assembly.GetEntryAssembly().GetName().Version}");
            WriteLog(_mediaTester, $"Temporary data path: '{_mediaTester.GetTestDirectory()}'");
            _startDateTime = DateTime.Now;
        }