From 58eda41fda51ff778b94a5ad2d555ba7ed13797a Mon Sep 17 00:00:00 2001 From: Philip Date: Mon, 25 Oct 2021 21:24:09 -0700 Subject: [PATCH] Changelog on about screen issue #165 --- RaveAddIn/frmAbout.Designer.cs | 366 ++++++++++++++++++--------------- RaveAddIn/frmAbout.cs | 7 +- RaveAddIn/frmAbout.resx | 238 ++++++++++----------- 3 files changed, 321 insertions(+), 290 deletions(-) diff --git a/RaveAddIn/frmAbout.Designer.cs b/RaveAddIn/frmAbout.Designer.cs index c44189a..afaf5ec 100644 --- a/RaveAddIn/frmAbout.Designer.cs +++ b/RaveAddIn/frmAbout.Designer.cs @@ -28,175 +28,199 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.cmdOK = new System.Windows.Forms.Button(); - this.lblProductName = new System.Windows.Forms.Label(); - this.lblVersion = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.grpSupport = new System.Windows.Forms.GroupBox(); - this.lnkIssues = new System.Windows.Forms.LinkLabel(); - this.lnkWebSite = new System.Windows.Forms.LinkLabel(); - this.Label5 = new System.Windows.Forms.Label(); - this.Label3 = new System.Windows.Forms.Label(); - this.grpAcknowledgements = new System.Windows.Forms.GroupBox(); - this.webBrowser1 = new System.Windows.Forms.WebBrowser(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.grpSupport.SuspendLayout(); - this.grpAcknowledgements.SuspendLayout(); - this.SuspendLayout(); - // - // pictureBox1 - // - this.pictureBox1.Image = global::RaveAddIn.Properties.Resources.RaveAddIn; - this.pictureBox1.Location = new System.Drawing.Point(12, 12); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(131, 122); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // - // cmdOK - // - this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK; - this.cmdOK.Location = new System.Drawing.Point(417, 311); - this.cmdOK.Name = "cmdOK"; - this.cmdOK.Size = new System.Drawing.Size(75, 23); - this.cmdOK.TabIndex = 1; - this.cmdOK.Text = "Close"; - this.cmdOK.UseVisualStyleBackColor = true; - // - // lblProductName - // - this.lblProductName.AutoSize = true; - this.lblProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblProductName.Location = new System.Drawing.Point(168, 12); - this.lblProductName.Name = "lblProductName"; - this.lblProductName.Size = new System.Drawing.Size(66, 24); - this.lblProductName.TabIndex = 2; - this.lblProductName.Text = "label1"; - // - // lblVersion - // - this.lblVersion.AutoSize = true; - this.lblVersion.Location = new System.Drawing.Point(270, 49); - this.lblVersion.Name = "lblVersion"; - this.lblVersion.Size = new System.Drawing.Size(52, 13); - this.lblVersion.TabIndex = 3; - this.lblVersion.Text = "lblVersion"; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(222, 49); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(42, 13); - this.label1.TabIndex = 4; - this.label1.Text = "Version"; - // - // grpSupport - // - this.grpSupport.Controls.Add(this.lnkIssues); - this.grpSupport.Controls.Add(this.lnkWebSite); - this.grpSupport.Controls.Add(this.Label5); - this.grpSupport.Controls.Add(this.Label3); - this.grpSupport.Location = new System.Drawing.Point(168, 68); - this.grpSupport.Name = "grpSupport"; - this.grpSupport.Size = new System.Drawing.Size(337, 66); - this.grpSupport.TabIndex = 11; - this.grpSupport.TabStop = false; - this.grpSupport.Text = "Support"; - // - // lnkIssues - // - this.lnkIssues.AutoSize = true; - this.lnkIssues.Location = new System.Drawing.Point(102, 42); - this.lnkIssues.Name = "lnkIssues"; - this.lnkIssues.Size = new System.Drawing.Size(219, 13); - this.lnkIssues.TabIndex = 6; - this.lnkIssues.TabStop = true; - this.lnkIssues.Text = "http://rave.riverscapes.xyz/known-bugs.html"; - this.lnkIssues.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkIssues_LinkClicked); - // - // lnkWebSite - // - this.lnkWebSite.AutoSize = true; - this.lnkWebSite.Location = new System.Drawing.Point(102, 20); - this.lnkWebSite.Name = "lnkWebSite"; - this.lnkWebSite.Size = new System.Drawing.Size(134, 13); - this.lnkWebSite.TabIndex = 4; - this.lnkWebSite.TabStop = true; - this.lnkWebSite.Text = "http://rave.riverscapes.xyz"; - this.lnkWebSite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkWebSite_LinkClicked); - // - // Label5 - // - this.Label5.AutoSize = true; - this.Label5.Location = new System.Drawing.Point(62, 42); - this.Label5.Name = "Label5"; - this.Label5.Size = new System.Drawing.Size(37, 13); - this.Label5.TabIndex = 3; - this.Label5.Text = "Issues"; - // - // Label3 - // - this.Label3.AutoSize = true; - this.Label3.Location = new System.Drawing.Point(50, 20); - this.Label3.Name = "Label3"; - this.Label3.Size = new System.Drawing.Size(49, 13); - this.Label3.TabIndex = 1; - this.Label3.Text = "Web site"; - // - // grpAcknowledgements - // - this.grpAcknowledgements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.grpAcknowledgements.Controls.Add(this.webBrowser1); - this.grpAcknowledgements.Location = new System.Drawing.Point(12, 140); - this.grpAcknowledgements.Name = "grpAcknowledgements"; - this.grpAcknowledgements.Size = new System.Drawing.Size(480, 165); - this.grpAcknowledgements.TabIndex = 12; - this.grpAcknowledgements.TabStop = false; - this.grpAcknowledgements.Text = "Acknowledgements"; - // - // webBrowser1 - // - this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; - this.webBrowser1.Location = new System.Drawing.Point(3, 16); - this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); - this.webBrowser1.Name = "webBrowser1"; - this.webBrowser1.Size = new System.Drawing.Size(474, 146); - this.webBrowser1.TabIndex = 0; - // - // frmAbout - // - this.AcceptButton = this.cmdOK; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CancelButton = this.cmdOK; - this.ClientSize = new System.Drawing.Size(504, 346); - this.Controls.Add(this.grpAcknowledgements); - this.Controls.Add(this.grpSupport); - this.Controls.Add(this.label1); - this.Controls.Add(this.lblVersion); - this.Controls.Add(this.lblProductName); - this.Controls.Add(this.cmdOK); - this.Controls.Add(this.pictureBox1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "frmAbout"; - this.ShowIcon = false; - this.Text = "frmAbout"; - this.Load += new System.EventHandler(this.frmAbout_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.grpSupport.ResumeLayout(false); - this.grpSupport.PerformLayout(); - this.grpAcknowledgements.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); - + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.cmdOK = new System.Windows.Forms.Button(); + this.lblProductName = new System.Windows.Forms.Label(); + this.lblVersion = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.grpSupport = new System.Windows.Forms.GroupBox(); + this.label2 = new System.Windows.Forms.Label(); + this.lnkIssues = new System.Windows.Forms.LinkLabel(); + this.lnkWebSite = new System.Windows.Forms.LinkLabel(); + this.Label5 = new System.Windows.Forms.Label(); + this.Label3 = new System.Windows.Forms.Label(); + this.grpAcknowledgements = new System.Windows.Forms.GroupBox(); + this.webBrowser1 = new System.Windows.Forms.WebBrowser(); + this.lnkReleases = new System.Windows.Forms.LinkLabel(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.grpSupport.SuspendLayout(); + this.grpAcknowledgements.SuspendLayout(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Image = global::RaveAddIn.Properties.Resources.RaveAddIn; + this.pictureBox1.Location = new System.Drawing.Point(12, 12); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(131, 122); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // cmdOK + // + this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK; + this.cmdOK.Location = new System.Drawing.Point(464, 298); + this.cmdOK.Name = "cmdOK"; + this.cmdOK.Size = new System.Drawing.Size(75, 23); + this.cmdOK.TabIndex = 1; + this.cmdOK.Text = "Close"; + this.cmdOK.UseVisualStyleBackColor = true; + // + // lblProductName + // + this.lblProductName.AutoSize = true; + this.lblProductName.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblProductName.Location = new System.Drawing.Point(168, 12); + this.lblProductName.Name = "lblProductName"; + this.lblProductName.Size = new System.Drawing.Size(66, 24); + this.lblProductName.TabIndex = 2; + this.lblProductName.Text = "label1"; + // + // lblVersion + // + this.lblVersion.AutoSize = true; + this.lblVersion.Location = new System.Drawing.Point(270, 49); + this.lblVersion.Name = "lblVersion"; + this.lblVersion.Size = new System.Drawing.Size(52, 13); + this.lblVersion.TabIndex = 3; + this.lblVersion.Text = "lblVersion"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(222, 49); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(42, 13); + this.label1.TabIndex = 4; + this.label1.Text = "Version"; + // + // grpSupport + // + this.grpSupport.Controls.Add(this.lnkReleases); + this.grpSupport.Controls.Add(this.label2); + this.grpSupport.Controls.Add(this.lnkIssues); + this.grpSupport.Controls.Add(this.lnkWebSite); + this.grpSupport.Controls.Add(this.Label5); + this.grpSupport.Controls.Add(this.Label3); + this.grpSupport.Location = new System.Drawing.Point(168, 68); + this.grpSupport.Name = "grpSupport"; + this.grpSupport.Size = new System.Drawing.Size(368, 92); + this.grpSupport.TabIndex = 11; + this.grpSupport.TabStop = false; + this.grpSupport.Text = "Support"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(41, 65); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(58, 13); + this.label2.TabIndex = 7; + this.label2.Text = "Changelog"; + // + // lnkIssues + // + this.lnkIssues.AutoSize = true; + this.lnkIssues.Location = new System.Drawing.Point(102, 42); + this.lnkIssues.Name = "lnkIssues"; + this.lnkIssues.Size = new System.Drawing.Size(219, 13); + this.lnkIssues.TabIndex = 6; + this.lnkIssues.TabStop = true; + this.lnkIssues.Text = "http://rave.riverscapes.xyz/known-bugs.html"; + this.lnkIssues.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkIssues_LinkClicked); + // + // lnkWebSite + // + this.lnkWebSite.AutoSize = true; + this.lnkWebSite.Location = new System.Drawing.Point(102, 20); + this.lnkWebSite.Name = "lnkWebSite"; + this.lnkWebSite.Size = new System.Drawing.Size(134, 13); + this.lnkWebSite.TabIndex = 4; + this.lnkWebSite.TabStop = true; + this.lnkWebSite.Text = "http://rave.riverscapes.xyz"; + this.lnkWebSite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkWebSite_LinkClicked); + // + // Label5 + // + this.Label5.AutoSize = true; + this.Label5.Location = new System.Drawing.Point(62, 42); + this.Label5.Name = "Label5"; + this.Label5.Size = new System.Drawing.Size(37, 13); + this.Label5.TabIndex = 3; + this.Label5.Text = "Issues"; + // + // Label3 + // + this.Label3.AutoSize = true; + this.Label3.Location = new System.Drawing.Point(50, 20); + this.Label3.Name = "Label3"; + this.Label3.Size = new System.Drawing.Size(49, 13); + this.Label3.TabIndex = 1; + this.Label3.Text = "Web site"; + // + // grpAcknowledgements + // + this.grpAcknowledgements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.grpAcknowledgements.Controls.Add(this.webBrowser1); + this.grpAcknowledgements.Location = new System.Drawing.Point(12, 166); + this.grpAcknowledgements.Name = "grpAcknowledgements"; + this.grpAcknowledgements.Size = new System.Drawing.Size(527, 126); + this.grpAcknowledgements.TabIndex = 12; + this.grpAcknowledgements.TabStop = false; + this.grpAcknowledgements.Text = "Acknowledgements"; + // + // webBrowser1 + // + this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; + this.webBrowser1.Location = new System.Drawing.Point(3, 16); + this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); + this.webBrowser1.Name = "webBrowser1"; + this.webBrowser1.Size = new System.Drawing.Size(521, 107); + this.webBrowser1.TabIndex = 0; + // + // lnkReleases + // + this.lnkReleases.AutoSize = true; + this.lnkReleases.Location = new System.Drawing.Point(102, 65); + this.lnkReleases.Name = "lnkReleases"; + this.lnkReleases.Size = new System.Drawing.Size(262, 13); + this.lnkReleases.TabIndex = 8; + this.lnkReleases.TabStop = true; + this.lnkReleases.Text = "https://github.com/Riverscapes/RaveAddIn/releases"; + this.lnkReleases.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // frmAbout + // + this.AcceptButton = this.cmdOK; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.cmdOK; + this.ClientSize = new System.Drawing.Size(551, 333); + this.Controls.Add(this.grpAcknowledgements); + this.Controls.Add(this.grpSupport); + this.Controls.Add(this.label1); + this.Controls.Add(this.lblVersion); + this.Controls.Add(this.lblProductName); + this.Controls.Add(this.cmdOK); + this.Controls.Add(this.pictureBox1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "frmAbout"; + this.ShowIcon = false; + this.Text = "frmAbout"; + this.Load += new System.EventHandler(this.frmAbout_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.grpSupport.ResumeLayout(false); + this.grpSupport.PerformLayout(); + this.grpAcknowledgements.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion @@ -212,6 +236,8 @@ private void InitializeComponent() internal System.Windows.Forms.Label Label5; internal System.Windows.Forms.Label Label3; private System.Windows.Forms.GroupBox grpAcknowledgements; - private System.Windows.Forms.WebBrowser webBrowser1; + private System.Windows.Forms.WebBrowser webBrowser1; + internal System.Windows.Forms.Label label2; + internal System.Windows.Forms.LinkLabel lnkReleases; } } \ No newline at end of file diff --git a/RaveAddIn/frmAbout.cs b/RaveAddIn/frmAbout.cs index aef2cbb..1741c50 100644 --- a/RaveAddIn/frmAbout.cs +++ b/RaveAddIn/frmAbout.cs @@ -27,6 +27,11 @@ private void lnkWebSite_LinkClicked(object sender, LinkLabelLinkClickedEventArgs private void lnkIssues_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Process.Start(lnkIssues.Text); - } + } + + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + Process.Start(lnkReleases.Text); + } } } diff --git a/RaveAddIn/frmAbout.resx b/RaveAddIn/frmAbout.resx index 1af7de1..29dcb1b 100644 --- a/RaveAddIn/frmAbout.resx +++ b/RaveAddIn/frmAbout.resx @@ -1,120 +1,120 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file