public iConsoleThreadScreen(iConsoleHandle handle, string parentPipe) : base() { _windowReader = new iConsoleWindowReader(); Start(this, handle, parentPipe); }
protected static void Start(iConsoleThread consoleThread, iConsoleHandle handle, string parentPipe) { consoleThread._handle = new iConsoleHandle(handle); consoleThread.PipeName = parentPipe; consoleThread._theThread = new Thread(consoleThread.ThreadProcedureInternal); consoleThread._theThread.Start(); s_threadList.Add(consoleThread._theThread); }
public iWin32Console() { // this will fail if we already have a console // we could test for console existence but // it's easier to just try and create AllocConsole(); _consoleHwnd = GetConsoleWindow(); _outputBuffer = new iConsoleHandle(OpenOutputBuffer()); _inputBuffer = new iConsoleHandle(OpenInputBuffer()); }
public iConsoleThreadInput(iConsoleHandle handle, string parentPipe) : base() { Start(this, handle, parentPipe); }