adjust changelog display in about form

This commit is contained in:
Sean Kaim
2016-11-11 14:36:08 -05:00
parent 0abfab96a4
commit 1a9cb5335a
2 changed files with 848 additions and 846 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -53,7 +53,7 @@ namespace mRemoteNG.UI.Window
this.pnlTop.ForeColor = System.Drawing.Color.White;
this.pnlTop.Location = new System.Drawing.Point(-1, -1);
this.pnlTop.Name = "pnlTop";
this.pnlTop.Size = new System.Drawing.Size(988, 145);
this.pnlTop.Size = new System.Drawing.Size(1121, 145);
this.pnlTop.TabIndex = 0;
//
// lblEdition
@@ -62,7 +62,7 @@ namespace mRemoteNG.UI.Window
this.lblEdition.BackColor = System.Drawing.Color.Black;
this.lblEdition.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblEdition.ForeColor = System.Drawing.Color.White;
this.lblEdition.Location = new System.Drawing.Point(712, 112);
this.lblEdition.Location = new System.Drawing.Point(845, 112);
this.lblEdition.Name = "lblEdition";
this.lblEdition.Size = new System.Drawing.Size(264, 24);
this.lblEdition.TabIndex = 0;
@@ -97,7 +97,7 @@ namespace mRemoteNG.UI.Window
this.pnlBottom.ForeColor = System.Drawing.SystemColors.ControlText;
this.pnlBottom.Location = new System.Drawing.Point(-1, 144);
this.pnlBottom.Name = "pnlBottom";
this.pnlBottom.Size = new System.Drawing.Size(988, 559);
this.pnlBottom.Size = new System.Drawing.Size(1121, 559);
this.pnlBottom.TabIndex = 1;
//
// lblCredits
@@ -117,7 +117,7 @@ namespace mRemoteNG.UI.Window
this.txtCredits.BackColor = System.Drawing.SystemColors.Control;
this.txtCredits.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtCredits.Cursor = System.Windows.Forms.Cursors.Default;
this.txtCredits.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCredits.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtCredits.ForeColor = System.Drawing.SystemColors.ControlText;
this.txtCredits.Location = new System.Drawing.Point(8, 156);
this.txtCredits.MinimumSize = new System.Drawing.Size(370, 260);
@@ -125,7 +125,7 @@ namespace mRemoteNG.UI.Window
this.txtCredits.Name = "txtCredits";
this.txtCredits.ReadOnly = true;
this.txtCredits.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtCredits.Size = new System.Drawing.Size(485, 400);
this.txtCredits.Size = new System.Drawing.Size(400, 400);
this.txtCredits.TabIndex = 7;
this.txtCredits.TabStop = false;
//
@@ -134,15 +134,15 @@ namespace mRemoteNG.UI.Window
this.txtChangeLog.BackColor = System.Drawing.SystemColors.Control;
this.txtChangeLog.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtChangeLog.Cursor = System.Windows.Forms.Cursors.Default;
this.txtChangeLog.Font = new System.Drawing.Font("Segoe UI", 9F);
this.txtChangeLog.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtChangeLog.ForeColor = System.Drawing.SystemColors.ControlText;
this.txtChangeLog.Location = new System.Drawing.Point(501, 156);
this.txtChangeLog.Location = new System.Drawing.Point(414, 156);
this.txtChangeLog.MinimumSize = new System.Drawing.Size(370, 260);
this.txtChangeLog.Multiline = true;
this.txtChangeLog.Name = "txtChangeLog";
this.txtChangeLog.ReadOnly = true;
this.txtChangeLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtChangeLog.Size = new System.Drawing.Size(485, 400);
this.txtChangeLog.Size = new System.Drawing.Size(700, 400);
this.txtChangeLog.TabIndex = 10;
this.txtChangeLog.TabStop = false;
//
@@ -175,7 +175,7 @@ namespace mRemoteNG.UI.Window
this.lblChangeLog.AutoSize = true;
this.lblChangeLog.Font = new System.Drawing.Font("Segoe UI", 11F);
this.lblChangeLog.ForeColor = System.Drawing.SystemColors.ControlText;
this.lblChangeLog.Location = new System.Drawing.Point(501, 131);
this.lblChangeLog.Location = new System.Drawing.Point(414, 131);
this.lblChangeLog.Name = "lblChangeLog";
this.lblChangeLog.Size = new System.Drawing.Size(89, 25);
this.lblChangeLog.TabIndex = 6;
@@ -209,7 +209,7 @@ namespace mRemoteNG.UI.Window
// AboutWindow
//
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(984, 705);
this.ClientSize = new System.Drawing.Size(1117, 705);
this.Controls.Add(this.pnlTop);
this.Controls.Add(this.pnlBottom);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@@ -256,8 +256,9 @@ namespace mRemoteNG.UI.Window
lblEdition.Visible = true;
#endif
}
private void FillLinkLabel(LinkLabel llbl, string txt, string URL)
#if false
private void FillLinkLabel(LinkLabel llbl, string txt, string URL)
{
llbl.Links.Clear();
@@ -277,9 +278,10 @@ namespace mRemoteNG.UI.Window
llbl.Text = txt;
}
#endregion
#endif
#endregion
#region Form Stuff
#region Form Stuff
private void About_Load(object sender, EventArgs e)
{
ApplyLanguage();
@@ -293,16 +295,14 @@ namespace mRemoteNG.UI.Window
if (File.Exists(GeneralAppInfo.HomePath + "\\CHANGELOG.TXT"))
{
StreamReader sR = new StreamReader(GeneralAppInfo.HomePath + "\\CHANGELOG.TXT");
txtChangeLog.Text = sR.ReadToEnd();
sR.Close();
using (var sR = new StreamReader(GeneralAppInfo.HomePath + "\\CHANGELOG.TXT"))
txtChangeLog.Text = sR.ReadToEnd();
}
if (File.Exists(GeneralAppInfo.HomePath + "\\CREDITS.TXT"))
{
StreamReader sR = new StreamReader(GeneralAppInfo.HomePath + "\\CREDITS.TXT", Encoding.Default, true);
txtCredits.Text = sR.ReadToEnd();
sR.Close();
using (var sR = new StreamReader(GeneralAppInfo.HomePath + "\\CREDITS.TXT", Encoding.Default, true))
txtCredits.Text = sR.ReadToEnd();
}
}
catch (Exception ex)