C# Class ServiceMonitor.LogView

Inheritance: System.Windows.Forms.ListBox
显示文件 Open project: davyxu/ServiceMonitor Class Usage Examples

Public Methods

Method Description
AddLog ( Color c, string text, bool autoscroll ) : void
AllLogToString ( ) : string
EnsureVisible ( int index ) : void
LogView ( ) : System

Private Methods

Method Description
InitializeComponent ( ) : void
OnDoubleClick ( object sender, EventArgs e ) : void
OnDrawItem ( object sender, DrawItemEventArgs e ) : void
OnMouseDown ( object sender, MouseEventArgs e ) : void

Method Details

AddLog() public method

public AddLog ( Color c, string text, bool autoscroll ) : void
c Color
text string
autoscroll bool
return void

AllLogToString() public method

public AllLogToString ( ) : string
return string

EnsureVisible() public method

public EnsureVisible ( int index ) : void
index int
return void

LogView() public method

public LogView ( ) : System
return System