Ejemplo n.º 1
0
 private void CheckTrialVersion()
 {
     if (expDate.Date <= DateTime.Now.Date)
     {
         LocalUtils.ShowErrorMessage(this, "Your trial version has been ended! Please contact developer.");
         Application.Exit();
     }
     else
     {
         LocalUtils.ShowInfo(this, "This application is a trial version and will be expired on " + expDate.ToString("MMMM dd, yyyy"));
     }
 }