public AboutBoxForm()
{
InitializeComponent();
this.Text = String.Format("About {0}", AssemblyTitle.Replace(" Library",""));
this.labelProductName.Text = AssemblyProduct;
this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
linkLabel.Text = "Get the last version and free support at http://wwww.sealreport.org";
//check for license text
string text = Repository.Instance.LicenseText;
if (string.IsNullOrEmpty(text))
{
text = "A genuine seal named 'Chocolat' from Dun Laoghaire, Dublin.\r\n\r\nVisit our Web site, take a dive and join the Seal community...\r\n\r\n\r\n";
text += "Copyright(c) Seal Report, Eric Pfirsch ([email protected]).\r\n\r\n";
text += "Seal Report is licensed under the Apache License, Version 2.0.\r\nhttp://www.apache.org/licenses/LICENSE-2.0.";
}
this.textBoxDescription.Text = text;
ShowIcon = true;
Icon = Repository.ProductIcon;
}