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; } } }