C# Class Forex_Strategy_Builder.Dialogs.Generator.Top10Layout

Inheritance: System.Windows.Forms.Panel
Afficher le fichier Open project: nuggett11/Forex-Strategy-Builder Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnResize ( EventArgs eventargs ) : void

Arranges the controls after resizing

Private Methods

Méthode 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 méthode

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

ClearSelectionOfSelectedSlot() public méthode

Clears the selection attribute of the slots.
public ClearSelectionOfSelectedSlot ( ) : void
Résultat void

ClearTop10Slots() public méthode

Resets the Top 10 layout.
public ClearTop10Slots ( ) : void
Résultat void

GetStrategy() public méthode

Returns strategy with the selected balance;
public GetStrategy ( int balance ) : Strategy
balance int
Résultat Strategy

IsNominated() public méthode

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

OnResize() protected méthode

Arranges the controls after resizing
protected OnResize ( EventArgs eventargs ) : void
eventargs System.EventArgs
Résultat void

Top10Layout() public méthode

Constructor
public Top10Layout ( int maxStrategies ) : System
maxStrategies int
Résultat System