Exemplo n.º 1
0
 	public CmdExeGui()
 	{
 		CmdExeApi = new CmdExeApi(cmdProcessName, cmdStartArguments , dataReceived);	
 		//CmdExeApi.MinimizeHostWindow = tr;
 		buildGui();
 		CmdExeApi.start();   
 		CmdExeApi.hideHost();
 		//wait(500);
 		selectThis();
 		consoleInTextBox.focus();
 	}
Exemplo n.º 2
0
 public CmdExeGui()
 {
     CmdExeApi = new CmdExeApi(cmdProcessName, cmdStartArguments, dataReceived);
     //CmdExeApi.MinimizeHostWindow = tr;
     buildGui();
     CmdExeApi.start();
     CmdExeApi.hideHost();
     //wait(500);
     selectThis();
     consoleInTextBox.focus();
 }
    	public void launch(string executableToLaunch)
    	{
    		if (pathToCdb.fileExists().isFalse())
    		{
    			"Aborting launch since could not find .NET Debugger (cdb.exe) in the expected path: {0}".error(pathToCdb);
    			return ;    		
    		}
			cmdApi = new CmdExeApi(pathToCdb, executableToLaunch , dataReceived);
    		cmdApi.MinimizeHostWindow = true;    		    			
    		cmdApi.start();    			    		    		
    		cmdApi.hostCmd(extraExecutionCommand);
    	}
Exemplo n.º 4
0
 public void launch(string executableToLaunch)
 {
     if (pathToCdb.fileExists().isFalse())
     {
         "Aborting launch since could not find .NET Debugger (cdb.exe) in the expected path: {0}".error(pathToCdb);
         return;
     }
     cmdApi = new CmdExeApi(pathToCdb, executableToLaunch, dataReceived);
     cmdApi.MinimizeHostWindow = true;
     cmdApi.start();
     cmdApi.hostCmd(extraExecutionCommand);
 }
Exemplo n.º 5
0
 	public CmdExeGui(string executable = "cmd.exe", string startArguments = "", Panel hostControl = null)
 	{
 		HostControl = hostControl ?? "CmdExe Gui".popupWindow(400,300);
 		cmdProcessName = executable;
 		cmdStartArguments = startArguments;
 		CmdExeApi = new CmdExeApi(cmdProcessName, cmdStartArguments , dataReceived);	
 		//CmdExeApi.MinimizeHostWindow = tr;
 		buildGui();
 		CmdExeApi.start();   
 		CmdExeApi.hideHost();
 		//wait(500);
 		selectThis();
 		consoleInTextBox.focus();
 	}
Exemplo n.º 6
0
 public CmdExeGui(string executable = "cmd.exe", string startArguments = "", Panel hostControl = null)
 {
     HostControl       = hostControl ?? "CmdExe Gui".popupWindow(400, 300);
     cmdProcessName    = executable;
     cmdStartArguments = startArguments;
     CmdExeApi         = new CmdExeApi(cmdProcessName, cmdStartArguments, dataReceived);
     //CmdExeApi.MinimizeHostWindow = tr;
     buildGui();
     CmdExeApi.start();
     CmdExeApi.hideHost();
     //wait(500);
     selectThis();
     consoleInTextBox.focus();
 }