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