C# 클래스 ConEmu.WinForms.ConEmuControl

This is a console emulator control that embeds a fully functional console view in a Windows Forms window. It is capable of running any console application with full interactivity and advanced console functions. Applications will detect it as an actual console and will not fall back to the output redirection mode with reduced interactivity or formatting.

The control can be used to run a console process in the console emulator. The console process is the single command executed in the control, which could be a simple executable (the console emulator is not usable after it exits), or an interactive shell like cmd or powershell or bash, which in turn can execute multiple commands, either by user input or programmatically with ConEmuSession.WriteInputText. The console emulator is what implements the console and renders the console view in the control. A new console emulator (represented by a RunningSession) is Start">started for each console process. After the root console process terminates, the console emulator might remain open (see Start spawns a new console emulator for a console process in it. You cannot run more than one console emulator (or console process) simultaneousely.

상속: System.Windows.Forms.Control
파일 보기 프로젝트 열기: Maximus5/conemu-inside 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AssertNotRunning void
Start ConEmuSession
TryGetConEmuHwnd void*

공개 메소드들

메소드 설명
ConEmuControl ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnGotFocus ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
OnPaint ( PaintEventArgs args ) : void

비공개 메소드들

메소드 설명
AssertNotRunning ( ) : void
Start ( [ startinfo ) : ConEmuSession
TryGetConEmuHwnd ( ) : void*

메소드 상세

ConEmuControl() 공개 메소드

public ConEmuControl ( ) : System
리턴 System

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

OnGotFocus() 보호된 메소드

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnHandleCreated() 보호된 메소드

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLayout() 보호된 메소드

protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs args ) : void
args PaintEventArgs
리턴 void