Пример #1
0
 /// <summary>
 /// Edits the specified command.
 /// </summary>
 /// <param name="command">The command.</param>
 /// <param name="parent">The parent window.</param>
 /// <returns><c>true</c> if the edit </returns>
 public bool Edit(Command command, IWin32Window parent)
 {
     if (command is CommandBlastIR)
     {
         return((command as CommandBlastIR).Edit(parent, _blastIrDelegate, _blastIrPorts));
     }
     else
     {
         return(command.Edit(parent));
     }
 }
Пример #2
0
 /// <summary>
 /// Edits the specified command.
 /// </summary>
 /// <param name="command">The command.</param>
 /// <param name="parent">The parent window.</param>
 /// <returns><c>true</c> if the edit </returns>
 public bool Edit(Command command, IWin32Window parent)
 {
   if (command is CommandBlastIR)
     return (command as CommandBlastIR).Edit(parent, _blastIrDelegate, _blastIrPorts);
   else
     return command.Edit(parent);
 }