Beispiel #1
0
        internal static bool ShowReminderIfNecessary(MainWindow parentWnd)
        {
            if (!IsSoftwareRegistered())
            {
                parentWnd.DimBorder.Visibility = Visibility.Visible;
                try
                {
                    wnd_LicenseReminder lRem = new wnd_LicenseReminder();
                    lRem.Owner = parentWnd;
                    return((bool)lRem.ShowDialog());
                }
                finally
                {
                    parentWnd.DimBorder.Visibility = Visibility.Hidden;
                }
            }

            return(true);
        }
Beispiel #2
0
        internal static bool ShowReminderIfNecessary(MainWindow parentWnd)
        {
            if (!IsSoftwareRegistered())
            {
                parentWnd.DimBorder.Visibility = Visibility.Visible;
                try
                {
                    wnd_LicenseReminder lRem = new wnd_LicenseReminder();
                    lRem.Owner = parentWnd;
                    return (bool)lRem.ShowDialog();
                }
                finally
                {
                    parentWnd.DimBorder.Visibility = Visibility.Hidden;
                }

            }

            return true;
        }