This commit is contained in:
2018-06-29 19:47:36 +00:00
commit be7f501333
3769 changed files with 1425961 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using GZTW.AyaNova.BLL;
namespace AyaNova
{
public partial class TrialExpire : Form
{
public TrialExpire()
{
InitializeComponent();
}
private void lblQuickStart_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Util.OpenWebURL(Util.BaseHelpUrl + "index.html?QuickStart_for_Beginners.htm");
// this.Close();
}
private void TrialExpire_Load(object sender, EventArgs e)
{
lblExpires.Text = string.Format(Util.LocaleText.GetLocalizedText("Error.License.WillExpire"),"");
if(AyaBizUtils.WillLockout)
lblExpiryDate.Text = AyaBizUtils.LockoutDate.ToShortDateString();
else
lblExpiryDate.Text = AyaBizUtils.ExpiryDate.ToShortDateString();
TimeSpan ts = AyaBizUtils.ExpiryDate - DateTime.Now;
if (ts.TotalDays < 10)
lblExpiryDate.ForeColor = System.Drawing.Color.Red;
}
}
}