コード例 #1
0
        private void ShowLicensingWindow(ScutexLicense scutexLicense)
        {
            ThreadRunner runner = new ThreadRunner();

            runner.RunInSTA(
                delegate
            {
                LicenseWindow window = new LicenseWindow(this, scutexLicense, _clientLicenseService.GetClientLicense());
                window.Show();
                System.Windows.Threading.Dispatcher.Run();
            });
        }
コード例 #2
0
ファイル: LicensingManager.cs プロジェクト: staxmanade/Scutex
 private void ShowLicensingWindow(ScutexLicense scutexLicense)
 {
     ThreadRunner runner = new ThreadRunner();
     runner.RunInSTA(
         delegate
         {
             LicenseWindow window = new LicenseWindow(this, scutexLicense, _clientLicenseService.GetClientLicense());
             window.Show();
             System.Windows.Threading.Dispatcher.Run();
         });
 }