This commit is contained in:
2010-12-03 17:56:18 +00:00
parent da075c62bc
commit 7f1bf28bd4
5 changed files with 427 additions and 62 deletions

View File

@@ -4,10 +4,11 @@ using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Reflection;
using Volian.Controls.Library;
namespace VEPROMS
{
partial class AboutVEPROMS : Form
partial class AboutVEPROMS : DevComponents.DotNetBar.Office2007Form //Form
{
public AboutVEPROMS()
{
@@ -22,7 +23,7 @@ namespace VEPROMS
this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
this.labelCopyright.Text = AssemblyCopyright;
this.labelCompanyName.Text = AssemblyCompany;
this.textBoxDescription.Text = AssemblyDescription;
// this.textBoxDescription.Text = AssemblyDescription;
this.labelCompanyName.Links[0].LinkData = "Volian Enterprises Inc.";
this.labelCompanyName.Links.Add(0,23,"www.volian.com");
}
@@ -130,5 +131,13 @@ namespace VEPROMS
{
System.Diagnostics.Process.Start(labelCompanyName.Links[0].LinkData as string); // this should start the default web browser
}
private void btnViewEULA_Click(object sender, EventArgs e)
{
string strEULA = System.Environment.CurrentDirectory + "\\EULA.TXT";
frmViewTextFile ViewFile = new frmViewTextFile(strEULA,RichTextBoxStreamType.PlainText);
ViewFile.ShowDialog();
}
}
}