i have changed my Main:
[STAThread]
static void Main(string[] args)
{
if (args.Length == 0)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new fForm());
}
else
{
Console.WriteLine("Yay! I have just created a commandline tool.");
}
}
But how can i print this massage Console.WriteLine(...)
? currently nothing happen when send argument into my exe
file