C# 클래스 ScreenToGif.Controls.NoDoubleClickTreeView

We use this TreeView instead of delivered one, because the last has a bug with double click event.
상속: System.Windows.Forms.TreeView
파일 보기 프로젝트 열기: dbremner/ScreenToGif

공개 메소드들

메소드 설명
Add ( int frameCount ) : void

Adds more frames on the TreeView control

CheckAll ( ) : void

Check all this.Nodes[0].nodes from this control.

IsAllChecked ( ) : bool

Returns true if all frames are checked.

IsFrameSelected ( IList &listIndexSelectedFrames, int actualFrame ) : bool

Check if there is at least one frame, and return list of indexes for selected frames as parameter.

IsSomeChecked ( int amount ) : bool

Checks if the a given amount of frames are checked.

Remove ( int frameCount ) : void

Deletes frames on the TreeView control

SelectedFrames ( ) : IList

Looks for all selected frames.

UncheckAll ( ) : void

Uncheck all this.Nodes[0].nodes from this control.

UpdateListFrames ( int frameCount, string parentNodeLabel ) : void

Update the list of frames on the TreeView control

보호된 메소드들

메소드 설명
ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
WndProc ( Message &m ) : void

Disable double click event on the TreeView control

비공개 메소드들

메소드 설명
NoDoubleClickTreeView_KeyDown ( object sender, KeyEventArgs e ) : void
NoDoubleClickTreeView_KeyUp ( object sender, KeyEventArgs e ) : void

메소드 상세

Add() 공개 메소드

Adds more frames on the TreeView control
public Add ( int frameCount ) : void
frameCount int The ammount of frames to add, should not be 0
리턴 void

CheckAll() 공개 메소드

Check all this.Nodes[0].nodes from this control.
public CheckAll ( ) : void
리턴 void

IsAllChecked() 공개 메소드

Returns true if all frames are checked.
public IsAllChecked ( ) : bool
리턴 bool

IsFrameSelected() 공개 메소드

Check if there is at least one frame, and return list of indexes for selected frames as parameter.
public IsFrameSelected ( IList &listIndexSelectedFrames, int actualFrame ) : bool
listIndexSelectedFrames IList /// List of indexes that reference selected frames
actualFrame int The actual frame
리턴 bool

IsSomeChecked() 공개 메소드

Checks if the a given amount of frames are checked.
public IsSomeChecked ( int amount ) : bool
amount int The minimum amount of frames checked.
리턴 bool

Remove() 공개 메소드

Deletes frames on the TreeView control
public Remove ( int frameCount ) : void
frameCount int Total number of frames, should not be 0
리턴 void

ScaleControl() 보호된 메소드

protected ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
factor System.Drawing.SizeF
specified BoundsSpecified
리턴 void

SelectedFrames() 공개 메소드

Looks for all selected frames.
public SelectedFrames ( ) : IList
리턴 IList

UncheckAll() 공개 메소드

Uncheck all this.Nodes[0].nodes from this control.
public UncheckAll ( ) : void
리턴 void

UpdateListFrames() 공개 메소드

Update the list of frames on the TreeView control
public UpdateListFrames ( int frameCount, string parentNodeLabel ) : void
frameCount int Total number of frames, should not be 0
parentNodeLabel string Label that will be displayed on the parent node
리턴 void

WndProc() 보호된 메소드

Disable double click event on the TreeView control
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A Windows Message as reference
리턴 void