C# 클래스 InstallPad.ControlList

파일 보기 프로젝트 열기: philc/InstallPad 1 사용 예제들

공개 메소드들

메소드 설명
AddAll ( List controls ) : void

Add many controls at once. Improves drawing performance slightly.

AddControl ( Control control ) : void

When a control is added, we need to add it to the TableView, adjust its width, listen to its visibility, and update our appearance.

AddControl ( Control control, int position ) : void
ClearListItems ( ) : void
ControlAtAbsolutePosition ( Point p ) : Control

Find a control at the given screen position, in absolute coordinates.

Highlight ( Control c ) : void
IndexOfListItem ( Control control ) : int
RemoveControl ( Control control ) : void
Unhighlight ( Control c ) : void

보호된 메소드들

메소드 설명
AlternateColorsOfEntries ( ) : void

Alternates colors of entries between gray and transparent.

Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
ControlList ( ) : System
ControlList_Load ( object sender, EventArgs e ) : void
FormatAndAddControl ( Control control ) : void

Utility method to get a control read and stick it at the end of the table layout

FormatAndAddControl ( Control control, int position ) : void
InitializeComponent ( ) : void

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

OnListItemClicked ( object sender, MouseEventArgs e ) : void
OnlistItemDoubleClicked ( object sender, MouseEventArgs e ) : void
ShiftRowsDown ( int row ) : void

All rows at 'row' will be shifted down one.

ShiftRowsUp ( int row ) : void

All rows at 'row' will be shifted down one.

UpdateTableHeight ( ) : void

Update the heights of the tablet layout and scroll panel controls

control_VisibleChanged ( object sender, EventArgs e ) : void

메소드 상세

AddAll() 공개 메소드

Add many controls at once. Improves drawing performance slightly.
public AddAll ( List controls ) : void
controls List
리턴 void

AddControl() 공개 메소드

When a control is added, we need to add it to the TableView, adjust its width, listen to its visibility, and update our appearance.
public AddControl ( Control control ) : void
control Control
리턴 void

AddControl() 공개 메소드

public AddControl ( Control control, int position ) : void
control Control
position int
리턴 void

AlternateColorsOfEntries() 보호된 메소드

Alternates colors of entries between gray and transparent.
protected AlternateColorsOfEntries ( ) : void
리턴 void

ClearListItems() 공개 메소드

public ClearListItems ( ) : void
리턴 void

ControlAtAbsolutePosition() 공개 메소드

Find a control at the given screen position, in absolute coordinates.
public ControlAtAbsolutePosition ( Point p ) : Control
p Point
리턴 Control

Dispose() 보호된 메소드

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

Highlight() 공개 메소드

public Highlight ( Control c ) : void
c Control
리턴 void

IndexOfListItem() 공개 메소드

public IndexOfListItem ( Control control ) : int
control Control
리턴 int

RemoveControl() 공개 메소드

public RemoveControl ( Control control ) : void
control Control
리턴 void

Unhighlight() 공개 메소드

public Unhighlight ( Control c ) : void
c Control
리턴 void