C# Class Forex_Strategy_Builder.Dialogs.Generator.Top10Layout

Inheritance: System.Windows.Forms.Panel
Show file Open project: nuggett11/Forex-Strategy-Builder Class Usage Examples

Public Methods

Method Description
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

Protected Methods

Method Description
OnResize ( EventArgs eventargs ) : void

Arranges the controls after resizing

Private Methods

Method Description
ArrangeTop10Slots ( ) : void

Arranges slots in the layout.

SetVerticalScrollBar ( ) : void

Shows, hides, sets the scrollbar.

VScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void

Method Details

AddStrategyInfo() public method

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

ClearSelectionOfSelectedSlot() public method

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

ClearTop10Slots() public method

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

GetStrategy() public method

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

IsNominated() public method

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

OnResize() protected method

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

Top10Layout() public method

Constructor
public Top10Layout ( int maxStrategies ) : System
maxStrategies int
return System