Start() 공개 메소드

public Start ( ConnectionInfo startConnectionInfo = null ) : void
startConnectionInfo ConnectionInfo
리턴 void
예제 #1
0
 private void StartExternalApp(ExternalTool externalTool)
 {
     try
     {
         if (SelectedNode.GetTreeNodeType() == TreeNodeType.Connection | SelectedNode.GetTreeNodeType() == TreeNodeType.PuttySession)
             externalTool.Start(SelectedNode);
     }
     catch (Exception ex)
     {
         Runtime.MessageCollector.AddExceptionStackTrace("cMenTreeToolsExternalAppsEntry_Click failed (UI.Window.ConnectionTreeWindow)", ex);
     }
 }
예제 #2
0
 private void StartExternalApp(ExternalTool externalTool)
 {
     try
     {
         var interfaceControl = TabController.SelectedTab?.Tag as InterfaceControl;
         externalTool.Start(interfaceControl?.Info);
     }
     catch (Exception ex)
     {
         Runtime.MessageCollector.AddMessage(MessageClass.ErrorMsg, "cmenTabExternalAppsEntry_Click failed (UI.Window.ConnectionWindow)" + Environment.NewLine + ex.Message, true);
     }
 }