Esempio n. 1
0
        private void Button_ApplyRegistrationKey(object sender, RoutedEventArgs e)
        {
            var d = new Windows.Registration {
                Owner = Window.GetWindow(this)
            };

            d.ShowDialog();

            d.Unloaded += ApplyRegistration_Completed;
        }
Esempio n. 2
0
        private void DeactivateInstall_Click(object sender, RoutedEventArgs e)
        {
            var d = new Windows.Registration {
                Owner = Window.GetWindow(this)
            };

            d.EditModel.IsRegistrationMode = false;
            d.ShowDialog();

            d.Unloaded += ApplyRegistration_Completed;
        }