private void btnUpdateLicense_Click(object sender, RoutedEventArgs e)
        {
            LicenseWindow dialog = new LicenseWindow();

            dialog.Owner = this;
            dialog.ShowDialog();
        }
Beispiel #2
0
        private bool InitializeLicense()
        {
            Licenseinfo = new LicenseInfo();
            Licenseinfo.Initialize();

            if (Licenseinfo.IsLicensed())
            {
                return(true);
            }

            var dialog = new Layout.LicenseWindow();

            return(dialog.ShowDialog() == true);
        }