#441 added homepage link to the about screen
This commit is contained in:
parent
cad97f8a89
commit
cb3d23013e
|
@ -36,6 +36,7 @@ namespace OpenLiveWriter.PostEditor
|
|||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private Container components = null;
|
||||
private LinkLabel labelWebsiteLink;
|
||||
|
||||
// Copyright notices are not to be localized.
|
||||
string[] credits = {
|
||||
|
@ -155,6 +156,7 @@ namespace OpenLiveWriter.PostEditor
|
|||
this.lnkShowLogFile = new System.Windows.Forms.LinkLabel();
|
||||
this.labelConfigVersion = new System.Windows.Forms.Label();
|
||||
this.copyrightTextbox = new System.Windows.Forms.TextBox();
|
||||
this.labelWebsiteLink = new System.Windows.Forms.LinkLabel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelProduct
|
||||
|
@ -230,20 +232,32 @@ namespace OpenLiveWriter.PostEditor
|
|||
// copyrightTextbox
|
||||
//
|
||||
this.copyrightTextbox.AcceptsReturn = true;
|
||||
this.copyrightTextbox.Location = new System.Drawing.Point(12, 123);
|
||||
this.copyrightTextbox.Location = new System.Drawing.Point(12, 133);
|
||||
this.copyrightTextbox.Multiline = true;
|
||||
this.copyrightTextbox.Name = "copyrightTextbox";
|
||||
this.copyrightTextbox.ReadOnly = true;
|
||||
this.copyrightTextbox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.copyrightTextbox.Size = new System.Drawing.Size(410, 151);
|
||||
this.copyrightTextbox.Size = new System.Drawing.Size(410, 141);
|
||||
this.copyrightTextbox.TabIndex = 12;
|
||||
//
|
||||
// labelWebsiteLink
|
||||
//
|
||||
this.labelWebsiteLink.AutoSize = true;
|
||||
this.labelWebsiteLink.Location = new System.Drawing.Point(249, 20);
|
||||
this.labelWebsiteLink.Name = "labelWebsiteLink";
|
||||
this.labelWebsiteLink.Size = new System.Drawing.Size(173, 15);
|
||||
this.labelWebsiteLink.TabIndex = 13;
|
||||
this.labelWebsiteLink.TabStop = true;
|
||||
this.labelWebsiteLink.Text = "http://www.openlivewriter.org/";
|
||||
this.labelWebsiteLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.labelWebsiteLink_LinkClicked);
|
||||
//
|
||||
// AboutForm
|
||||
//
|
||||
this.AcceptButton = this.buttonOK;
|
||||
this.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.CancelButton = this.buttonOK;
|
||||
this.ClientSize = new System.Drawing.Size(434, 312);
|
||||
this.Controls.Add(this.labelWebsiteLink);
|
||||
this.Controls.Add(this.copyrightTextbox);
|
||||
this.Controls.Add(this.labelConfigVersion);
|
||||
this.Controls.Add(this.lnkShowLogFile);
|
||||
|
@ -289,5 +303,10 @@ namespace OpenLiveWriter.PostEditor
|
|||
{
|
||||
Process.Start("explorer.exe", string.Format(CultureInfo.InvariantCulture, "/select,\"{0}\"", ApplicationEnvironment.LogFilePath));
|
||||
}
|
||||
|
||||
private void labelWebsiteLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
System.Diagnostics.Process.Start(labelWebsiteLink.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue