コード例 #1
0
 private bool method_23(string string_0, CommandTipsType commandTipsType_0)
 {
     if (this.icommandLineWindows_0 != null)
     {
         this.icommandLineWindows_0.ShowCommandString(string_0, (short)commandTipsType_0);
         if (commandTipsType_0 == CommandTipsType.CTTEnd)
         {
             if ((this.icommandLine_1 != null) && !(this.icommandLine_1 as ICommand).Enabled)
             {
                 this.icommandLine_1 = null;
             }
         }
         else if (commandTipsType_0 == CommandTipsType.CTTUnKnown)
         {
             this.icommandLine_0 = this.method_12() as ICommandLine;
             if (this.icommandLine_0 != null)
             {
                 if ((this.icommandLine_0 as ICommand).Enabled)
                 {
                     this.icommandLineWindows_0.ShowCommandString(
                         string.Format("恢复执行{0}", this.icommandLine_0.CommandName), 2);
                     this.icommandLine_0.ActiveCommand();
                 }
                 else
                 {
                     this.method_10(null);
                 }
             }
         }
         return(true);
     }
     return(false);
 }
コード例 #2
0
ファイル: ApplicationBase.cs プロジェクト: secondii/Yutai
 public bool ShowCommandString(string string_2, CommandTipsType commandTipsType_0)
 {
     return((this.OnShowCommandString != null) && this.OnShowCommandString(string_2, commandTipsType_0));
 }
コード例 #3
0
 bool IYTHookHelper.ShowCommandString(string string_0, CommandTipsType commandTipsType_0)
 {
     return(true);
 }
コード例 #4
0
 public void ShowCommandString(string msg, CommandTipsType tipType)
 {
     //throw new NotImplementedException();
 }
コード例 #5
0
ファイル: KHookHelper.cs プロジェクト: secondii/Yutai
 public bool ShowCommandString(string string_0, CommandTipsType commandTipsType_0)
 {
     return((this.iapplication_0 != null) && this.iapplication_0.ShowCommandString(string_0, commandTipsType_0));
 }