Skip to content

Commit

Permalink
Merge pull request #13 from Mijo-Software/mjohne-patch-1
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
mjohne authored Aug 5, 2020
2 parents 88c9c0d + f7d4229 commit 1a67a8a
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 10 deletions.
6 changes: 3 additions & 3 deletions DisksizeWatcher/MainForm.Designer.cs

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

1 change: 1 addition & 0 deletions DisksizeWatcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ private void ToolStripSplitButtonSettings_ButtonClick(object sender, EventArgs e
DialogResult dialogResult = settingsForm.ShowDialog();
if (dialogResult == DialogResult.OK)
{
timer.Interval = settingsForm.RefreshRate;
menuitemStayOnTop.Checked = settingsForm.StayOnTop;
menuitemMinimizeToSystemTray.Checked = settingsForm.MinimizeToSystemTray;
}
Expand Down
3 changes: 3 additions & 0 deletions DisksizeWatcher/MainForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -5363,6 +5363,9 @@
<metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>192, 16</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>61</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAA
Expand Down
54 changes: 47 additions & 7 deletions DisksizeWatcher/SettingsForm.Designer.cs

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

12 changes: 12 additions & 0 deletions DisksizeWatcher/SettingsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ public bool MinimizeToSystemTray
}
}

public int RefreshRate
{
get
{
return (int)numericUpDownRefreshRate.Value;
}
set
{
numericUpDownRefreshRate.Value = value;
}
}

public SettingsForm() => InitializeComponent();

private void SettingsForm_Load(object sender, EventArgs e)
Expand Down

0 comments on commit 1a67a8a

Please sign in to comment.