Skip to content

Commit

Permalink
Update Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
idadwind1 committed Apr 19, 2023
1 parent ea9f8a2 commit 74b370f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
10 changes: 0 additions & 10 deletions Settings.Designer.cs

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

10 changes: 9 additions & 1 deletion Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public Settings()
{
InitializeComponent();
Background.SelectedIndex = 0;
Background.SelectedIndexChanged += new EventHandler(ValueChanged);
}

private void button2_Click(object sender, EventArgs e)
Expand All @@ -33,6 +32,15 @@ private void Settings_Load(object sender, EventArgs e)
MinIncre.Value = ini.ReadInteger("MinProgressIncrement", "Settings", (int)MinIncre.Value);
MaxIncre.Value = ini.ReadInteger("MaxProgressIncrement", "Settings", (int)MaxIncre.Value);
ProBarCnt.Value = ini.ReadInteger("ProgressBarCount", "Settings", (int)ProBarCnt.Value);
Background.SelectedIndexChanged += new EventHandler(ValueChanged);
MaxHeight.ValueChanged += new EventHandler(ValueChanged);
MinHeight.ValueChanged += new EventHandler(ValueChanged);
MaxWidth.ValueChanged += new EventHandler(ValueChanged);
MinWidth.ValueChanged += new EventHandler(ValueChanged);
MaxIncre.ValueChanged += new EventHandler(ValueChanged);
MaxSpeed.ValueChanged += new EventHandler(ValueChanged);
MinSpeed.ValueChanged += new EventHandler(ValueChanged);
ProBarCnt.ValueChanged += new EventHandler(ValueChanged);
ValueChanged(sender, e);
}

Expand Down

0 comments on commit 74b370f

Please sign in to comment.