C# Class Automatak.Simulator.UI.LogControl

Inheritance: System.Windows.Forms.UserControl
Show file Open project: automatak/dnp3-simulator

Private Properties

Property Type Description
CalcBackRows int
GetColor Color
GetCurrentRows IList
InitializeComponent void
NumRowsVisible int
PaintRows void
RowPosition float

Public Methods

Method Description
AddRows ( IEnumerable rs ) : void
Clear ( ) : void
GetAllRows ( ) : IEnumerable
GetViewportRows ( ) : IEnumerable
LogControl ( ) : System
Pause ( ) : void
Resume ( ) : void
SetViewport ( double fraction ) : void
TrimRows ( IList list ) : IEnumerable

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs pe ) : void

Private Methods

Method Description
CalcBackRows ( int count ) : int
GetColor ( DisplayHint hint ) : Color
GetCurrentRows ( ) : IList
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

NumRowsVisible ( ) : int
PaintRows ( Graphics g, IEnumerable rows ) : void
RowPosition ( int row ) : float

Method Details

AddRows() public method

public AddRows ( IEnumerable rs ) : void
rs IEnumerable
return void

Clear() public method

public Clear ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetAllRows() public method

public GetAllRows ( ) : IEnumerable
return IEnumerable

GetViewportRows() public method

public GetViewportRows ( ) : IEnumerable
return IEnumerable

LogControl() public method

public LogControl ( ) : System
return System

OnPaint() protected method

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
return void

Pause() public method

public Pause ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

SetViewport() public method

public SetViewport ( double fraction ) : void
fraction double
return void

TrimRows() public method

public TrimRows ( IList list ) : IEnumerable
list IList
return IEnumerable