C# 클래스 Forex_Strategy_Builder.Dialogs.Generator.Top10Layout

상속: System.Windows.Forms.Panel
파일 보기 프로젝트 열기: nuggett11/Forex-Strategy-Builder 1 사용 예제들

공개 메소드들

메소드 설명
AddStrategyInfo ( Top10StrategyInfo top10StrategyInfo ) : void

Adds a strategy to the top 10 Layout

ClearSelectionOfSelectedSlot ( ) : void

Clears the selection attribute of the slots.

ClearTop10Slots ( ) : void

Resets the Top 10 layout.

GetStrategy ( int balance ) : Strategy

Returns strategy with the selected balance;

IsNominated ( int balance ) : bool

Check whether the strategy has to be added in Top10 list

Top10Layout ( int maxStrategies ) : System

Constructor

보호된 메소드들

메소드 설명
OnResize ( EventArgs eventargs ) : void

Arranges the controls after resizing

비공개 메소드들

메소드 설명
ArrangeTop10Slots ( ) : void

Arranges slots in the layout.

SetVerticalScrollBar ( ) : void

Shows, hides, sets the scrollbar.

VScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void

메소드 상세

AddStrategyInfo() 공개 메소드

Adds a strategy to the top 10 Layout
public AddStrategyInfo ( Top10StrategyInfo top10StrategyInfo ) : void
top10StrategyInfo Top10StrategyInfo
리턴 void

ClearSelectionOfSelectedSlot() 공개 메소드

Clears the selection attribute of the slots.
public ClearSelectionOfSelectedSlot ( ) : void
리턴 void

ClearTop10Slots() 공개 메소드

Resets the Top 10 layout.
public ClearTop10Slots ( ) : void
리턴 void

GetStrategy() 공개 메소드

Returns strategy with the selected balance;
public GetStrategy ( int balance ) : Strategy
balance int
리턴 Strategy

IsNominated() 공개 메소드

Check whether the strategy has to be added in Top10 list
public IsNominated ( int balance ) : bool
balance int
리턴 bool

OnResize() 보호된 메소드

Arranges the controls after resizing
protected OnResize ( EventArgs eventargs ) : void
eventargs System.EventArgs
리턴 void

Top10Layout() 공개 메소드

Constructor
public Top10Layout ( int maxStrategies ) : System
maxStrategies int
리턴 System