Add caption to End-User License Aggreement form

Added LastVersion to config to present EULA on version change
Display EULA when version changes
Added Property to change button label (Agree for EULA)
Changed DialogResult to OK for OK Button.
This commit is contained in:
Rich
2012-04-18 17:18:11 +00:00
parent 62368e725b
commit 628e9cf390
7 changed files with 71 additions and 5 deletions

View File

@@ -13,20 +13,22 @@ namespace Volian.Controls.Library
{
string _FileName;
RichTextBoxStreamType _RTBType;
//public string FileName
//{
// get { return _FileName; }
// set { _FileName = value; }
//}
public string ButtonText
{
get { return buttonX1.Text; }
set { buttonX1.Text = value; }
}
public frmViewTextFile(string filename, RichTextBoxStreamType rtbtype)
{
_FileName = filename;
_RTBType = rtbtype;
InitializeComponent();
}
private void frmViewTextFile_Load(object sender, EventArgs e)
{
if (File.Exists(_FileName))