Beispiel #1
0
 private void verifyNumCardsToPrint()
 {
     licenseInfo = new BingoLicense();
     if (licenseInfo.isLicensed == false)
     {
         if (TableBingo.numCardsToPrint > licenseInfo.maxNumCardsToPrint)
         {
             splash = new SplashScreen(true, "Sorry, the trial version of Bingo Card Designer\nis limited to printing 15 bingo cards.", licenseInfo.isLicensed);
             using (splash)
             {
                 splash.ShowDialog();
             }
             numberCardsToPrintTextBox.Text = licenseInfo.maxNumCardsToPrint.ToString();
             TableBingo.numCardsToPrint = licenseInfo.maxNumCardsToPrint;
         }
     }
 }
Beispiel #2
0
        private void BingoWords_Load(object sender, EventArgs e)
        {
            licenseInfo = new BingoLicense();
            splash = new SplashScreen(false, licenseInfo.licenseText, licenseInfo.isLicensed);
            Thread splashThread = new Thread(new ThreadStart(showSplashScreen));
            splashThread.Start();
            refreshItemsListBox();

            //Hide the registration menu if the app is already registered
            licenseInfo = new BingoLicense();
            if (licenseInfo.isLicensed == true)
            {
                registerToolStripMenuItem.Visible = false;
            }
        }