public static void HandleCmdLineArgs() { if (Environment.GetCommandLineArgs().Length > 1) { switch (Environment.GetCommandLineArgs()[1]) { case JumplistManager.ACTION_EXIT: WindowsMessageHelper.SendMessage("ATG-Notifier", WindowsMessageHelper.TaskCloseArg); break; } } }
public static void HandleCmdLineArgs() { if (Environment.GetCommandLineArgs().Length > 1) { switch (Environment.GetCommandLineArgs()[1]) { case "-1": WindowsMessageHelper.SendMessage("Jumplist.demo", WindowsMessageHelper.ClearHistoryArg); break; } } }