Clickable help and other changes

This commit is contained in:
Kamil Trzciński 2022-11-12 13:56:15 +01:00
parent d56d123e61
commit 52d68d4b7f
6 changed files with 24 additions and 105 deletions

View file

@ -72,13 +72,14 @@ namespace FanControl
if (e.CloseReason == CloseReason.UserClosing && Visible)
{
e.Cancel = true;
WindowState = FormWindowState.Minimized;
Hide();
}
}
private void formShow_Event(object sender, EventArgs e)
{
WindowState = FormWindowState.Normal;
Show();
propertyGrid1.Refresh();
}
@ -117,9 +118,9 @@ namespace FanControl
toolStripMenuItemStartupOnBoot.Checked = startupManager.Startup;
}
private void label1_DoubleClick(object sender, EventArgs e)
private void help_DoubleClick(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://github.com/ayufan-research/SteamDeckTools");
System.Diagnostics.Process.Start("explorer.exe", "http://github.com/ayufan-research/SteamDeckTools");
}
}
}