diff --git a/MSniper/Program.cs b/MSniper/Program.cs index 0405c03..ca5d394 100644 --- a/MSniper/Program.cs +++ b/MSniper/Program.cs @@ -31,8 +31,9 @@ static void Main(string[] _args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - frm = new FWindow(); - frm.Console.Arguments = _args; + frm = new FWindow {Console = {Arguments = _args}}; + if (_args.Length > 0) + frm.WindowState = FormWindowState.Minimized; Application.Run(frm); } #endregion