diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-05-04 05:54:03 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-05-04 05:54:03 +0300 |
| commit | bfcc978160dfdc00256cbbe11551cd32be459dda (patch) | |
| tree | f618b1db2100d834c85f5efd59f17fcdf187fce0 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs | |
| parent | ba6f699293846839af4504dbfb600bf4d9e51606 (diff) | |
| download | Tango-bfcc978160dfdc00256cbbe11551cd32be459dda.tar.gz Tango-bfcc978160dfdc00256cbbe11551cd32be459dda.zip | |
Machine Manager Module !!
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs index 7eab5066a..9f98b1897 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs @@ -93,6 +93,21 @@ namespace Tango.MachineStudio.UI //add current theme MachineStudioTheme wTheme = settings.Theme; + try + { + Z.EntityFramework.Extensions.LicenseManager.AddLicense("4578;101-twine-s.com", "9d23b66f-1101-b253-7f8a-59ae011b2ee8"); + + string licenseErrorMessage; + if (!Z.EntityFramework.Extensions.LicenseManager.ValidateLicense(out licenseErrorMessage)) + { + throw new Exception(licenseErrorMessage); + } + } + catch (Exception ex) + { + LogManager.Log(ex, "Error performing EF extensions license setup."); + } + base.OnStartup(e); exceptionTrapper = new WpfGlobalExceptionTrapper(); |
