mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Better startup sequence
This commit is contained in:
parent
b8333064e2
commit
d073ab0ff6
3 changed files with 35 additions and 24 deletions
|
|
@ -29,12 +29,9 @@ namespace FanControl
|
|||
}
|
||||
|
||||
fanModeSelectMenu.SelectedIndex = 0;
|
||||
}
|
||||
fanModeSelectNotifyMenu.SelectedIndex = 0;
|
||||
|
||||
private void timer1_Tick(object sender, EventArgs e)
|
||||
{
|
||||
fanControl.Update();
|
||||
propertyGrid1.Refresh();
|
||||
notifyIcon.ShowBalloonTip(3000, "Steam Deck Fan Control", "Fan Control Started", ToolTipIcon.Info);
|
||||
}
|
||||
|
||||
private void fanModeSelect_SelectedValueChanged(object sender, EventArgs e)
|
||||
|
|
@ -71,5 +68,17 @@ namespace FanControl
|
|||
// Always revert to default on closing
|
||||
fanControl.SetMode(FanControl.FanMode.Default);
|
||||
}
|
||||
|
||||
private void updateTimer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
fanControl.Update();
|
||||
|
||||
if (Visible)
|
||||
{
|
||||
propertyGrid1.Refresh();
|
||||
}
|
||||
|
||||
notifyIcon.Text = String.Format("Fan: {0} RPM Mode: {1}", fanControl.CurrentRPM, fanControl.Mode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue