mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 14:53:48 +00:00
Add some simple PropertyGrid interface
This commit is contained in:
parent
8ac4313e73
commit
b8333064e2
9 changed files with 483 additions and 5 deletions
|
|
@ -62,8 +62,7 @@ namespace FanControl
|
|||
|
||||
computer.Close();
|
||||
}
|
||||
|
||||
static void Main(string[] args)
|
||||
static void ConsoleMain(string[] args)
|
||||
{
|
||||
// Monitor();
|
||||
|
||||
|
|
@ -78,5 +77,17 @@ namespace FanControl
|
|||
Console.WriteLine("Fan Desired RPM: {0}", Vlv0100.GetFanDesiredRPM());
|
||||
}
|
||||
}
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
if (Environment.UserInteractive && !Console.IsInputRedirected)
|
||||
{
|
||||
ConsoleMain(args);
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.Run(new FanControlForm());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue