Skip to content

Commit

Permalink
Fixed an issue that allowed user to edit Remind Later comboBox value.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravibpatel committed Dec 6, 2017
1 parent ea37d6f commit b8ab25a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 34 deletions.
2 changes: 0 additions & 2 deletions AutoUpdater.NET/AutoUpdater.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Net;
Expand Down
1 change: 0 additions & 1 deletion AutoUpdater.NET/DownloadUpdateDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Net;
using System.IO;
using System.Diagnostics;
using System.Reflection;

namespace AutoUpdaterDotNET
{
Expand Down
1 change: 1 addition & 0 deletions AutoUpdater.NET/RemindLaterForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 23 additions & 29 deletions AutoUpdater.NET/RemindLaterForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,10 @@
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBoxIcon.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 4</value>
</data>
<data name="pictureBoxIcon.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 4, 3, 4</value>
<value>3, 3</value>
</data>
<data name="pictureBoxIcon.Size" type="System.Drawing.Size, System.Drawing">
<value>91, 120</value>
<value>79, 90</value>
</data>
<data name="pictureBoxIcon.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
<value>CenterImage</value>
Expand Down Expand Up @@ -166,13 +163,13 @@
<value>Segoe UI, 9pt, style=Bold</value>
</data>
<data name="radioButtonNo.Location" type="System.Drawing.Point, System.Drawing">
<value>104, 186</value>
<value>91, 138</value>
</data>
<data name="radioButtonNo.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>7, 4, 3, 4</value>
<value>6, 3, 3, 3</value>
</data>
<data name="radioButtonNo.Size" type="System.Drawing.Size, System.Drawing">
<value>464, 24</value>
<value>406, 19</value>
</data>
<data name="radioButtonNo.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
Expand Down Expand Up @@ -217,13 +214,13 @@
<value>After 10 days</value>
</data>
<data name="comboBoxRemindLater.Location" type="System.Drawing.Point, System.Drawing">
<value>428, 142</value>
<value>375, 102</value>
</data>
<data name="comboBoxRemindLater.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>11, 4, 11, 4</value>
<value>10, 3, 10, 3</value>
</data>
<data name="comboBoxRemindLater.Size" type="System.Drawing.Size, System.Drawing">
<value>132, 28</value>
<value>115, 23</value>
</data>
<data name="comboBoxRemindLater.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
Expand All @@ -250,13 +247,13 @@
<value>Segoe UI, 9pt</value>
</data>
<data name="radioButtonYes.Location" type="System.Drawing.Point, System.Drawing">
<value>104, 143</value>
<value>91, 106</value>
</data>
<data name="radioButtonYes.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>7, 4, 3, 4</value>
<value>6, 3, 3, 3</value>
</data>
<data name="radioButtonYes.Size" type="System.Drawing.Size, System.Drawing">
<value>310, 24</value>
<value>271, 19</value>
</data>
<data name="radioButtonYes.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
Expand Down Expand Up @@ -286,10 +283,10 @@
<value>Segoe UI, 9pt</value>
</data>
<data name="labelDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>100, 68</value>
<value>88, 51</value>
</data>
<data name="labelDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>468, 60</value>
<value>409, 45</value>
</data>
<data name="labelDescription.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
Expand All @@ -314,13 +311,13 @@
<value>Fill</value>
</data>
<data name="buttonOK.Location" type="System.Drawing.Point, System.Drawing">
<value>428, 218</value>
<value>375, 163</value>
</data>
<data name="buttonOK.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>11, 4, 11, 4</value>
<value>10, 3, 10, 3</value>
</data>
<data name="buttonOK.Size" type="System.Drawing.Size, System.Drawing">
<value>132, 42</value>
<value>115, 32</value>
</data>
<data name="buttonOK.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
Expand Down Expand Up @@ -352,14 +349,11 @@
<data name="tableLayoutPanel.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="tableLayoutPanel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 4, 3, 4</value>
</data>
<data name="tableLayoutPanel.RowCount" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="tableLayoutPanel.Size" type="System.Drawing.Size, System.Drawing">
<value>570, 264</value>
<value>499, 198</value>
</data>
<data name="tableLayoutPanel.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
Expand All @@ -377,7 +371,7 @@
<value>0</value>
</data>
<data name="tableLayoutPanel.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="pictureBoxIcon" Row="0" RowSpan="2" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="labelTitle" Row="0" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="radioButtonNo" Row="3" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="comboBoxRemindLater" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonYes" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="labelDescription" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="buttonOK" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,97,Absolute,320,Absolute,154" /&gt;&lt;Rows Styles="Absolute,43,Absolute,85,Absolute,43,Absolute,43,Absolute,21" /&gt;&lt;/TableLayoutSettings&gt;</value>
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="pictureBoxIcon" Row="0" RowSpan="2" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="labelTitle" Row="0" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="radioButtonNo" Row="3" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="comboBoxRemindLater" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonYes" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="labelDescription" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /&gt;&lt;Control Name="buttonOK" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,85,Absolute,280,Absolute,135" /&gt;&lt;Rows Styles="Absolute,32,Absolute,64,Absolute,32,Absolute,32,Absolute,16" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="labelTitle.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Bottom</value>
Expand All @@ -386,10 +380,10 @@
<value>Segoe UI, 10.5pt, style=Bold</value>
</data>
<data name="labelTitle.Location" type="System.Drawing.Point, System.Drawing">
<value>100, 18</value>
<value>88, 13</value>
</data>
<data name="labelTitle.Size" type="System.Drawing.Size, System.Drawing">
<value>468, 25</value>
<value>409, 19</value>
</data>
<data name="labelTitle.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
Expand All @@ -413,16 +407,16 @@
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>8, 20</value>
<value>7, 15</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>570, 264</value>
<value>499, 198</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>3, 5, 3, 5</value>
<value>3, 4, 3, 4</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
Expand Down
2 changes: 0 additions & 2 deletions AutoUpdater.NET/UpdateForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.Win32;

Expand Down

0 comments on commit b8ab25a

Please sign in to comment.