-1
var process = new Process
        {
            StartInfo = new ProcessStartInfo
            {
                FileName = @"C:\Program Files\CPUID\CPU-Z\cpuz.exe",
                UseShellExecute = false,
                RedirectStandardOutput = true,
                CreateNoWindow = true
            }
        };
       for(; ; )
        {
            process.Start();
            Thread.Sleep(20000);
            process.Kill();

        }

This program need to be hidden or even minimized? Can someone explain to me how to upgrade this?

Mr. Gugi
  • 19
  • 1
  • 5

1 Answers1

0

Add these lines to your code

this.ShowInTaskbar = false;
this.FormBorderStyle = FormBorderStyle.FixedToolWindow;