예제 #1
0
        private void btnUpdateLicense_Click(object sender, RoutedEventArgs e)
        {
            LicenseWindow dialog = new LicenseWindow();

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

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

            var dialog = new Layout.LicenseWindow();

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