public SplashScreenForm() { InitializeComponent(); textLabel.Parent = pictureBox; textLabel.BackColor = Color.Transparent; versionLabel.Parent = pictureBox; versionLabel.BackColor = Color.Transparent; versionLabel.Text += Common.Ultility.Ultility.AssemblyVersion(Assembly.GetExecutingAssembly()); Label_FullName.Parent = pictureBox; Label_FullName.BackColor = Color.Transparent; Label_FullName.Text = Common.Ultility.Ultility.APPLICATION_FULL_NAME; #if ACADEMIC Label_RegistrationInfo.Text = ""; #else Label_RegistrationInfo.Parent = pictureBox; Label_RegistrationInfo.BackColor = Color.Transparent; if (RegisterationForm.IsValidLicenseAvailable() == Ultility.LicenseType.Valid) { Label_RegistrationInfo.Text = Resources.Registered_Version; } else if (RegisterationForm.IsValidLicenseAvailable() == Ultility.LicenseType.Evaluation) { Label_RegistrationInfo.Text = string.Format("Evaluation Version ({0} days of {1} days)", RegisterationForm.CurrentEvaluationDays(), RegisterationForm.TotalEvaluationDays()); } else if (RegisterationForm.IsValidLicenseAvailable() == Ultility.LicenseType.Invalid) { Label_RegistrationInfo.Text = Resources.Version_Expired; } #endif progressBar.Parent = pictureBox; progressBar.Show(); }
private void Awake() { Instance = this; }