C# Класс Forex_Strategy_Builder.Strategy_Layout

Represents the strategies slots into a readable form
Наследование: System.Windows.Forms.Panel
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
abtnRemoveSlot System.Windows.Forms.Button[]
apnlSlot System.Windows.Forms.Panel[]
btnAddCloseFilter System.Windows.Forms.Button
btnAddOpenFilter System.Windows.Forms.Button
pnlProperties System.Windows.Forms.Panel

Открытые методы

Метод Описание
ArrangeStrategyControls ( ) : void

Calculates the position of the controls

BtnClosingFilterHelp_Click ( object sender, EventArgs e ) : void

Shows Closing Filter Help.

InitializeStrategySlots ( ) : void

Initializes the strategy slots

PnlProperties_Paint ( object sender, PaintEventArgs e ) : void

Panel properties Paint

PnlSlot_Paint ( object sender, PaintEventArgs e ) : void

Panel Slot Paint

PnlSlot_Resize ( object sender, EventArgs e ) : void

Panel Strategy Resize

RearangeStrategyControls ( ) : void

Rearranges all controls in panel Strategy

RebuildStrategyControls ( Strategy strategy ) : void

Rebuilds all the controls in panel Strategy

RepaintStrategyControls ( Strategy strategy ) : void

Repaints the strategy slots

Strategy_Layout ( Strategy strategy ) : System

Initializes the strategy field

VScrollBarStrategy_Scroll ( object sender, ScrollEventArgs e ) : void

Защищенные методы

Метод Описание
OnResize ( EventArgs eventargs ) : void

Arranges the controls after resizing

SetAddSlotButtons ( ) : void

Sets add new slot buttons

Приватные методы

Метод Описание
PnlPropertiesCalculateHeight ( int width ) : int

Calculates the height of the Averaging Panel

PnlSlotCalculateHeight ( int slot, int width ) : int

Calculates the height of the Panel Slot

PnlSlotCalculateTotalHeight ( int width ) : int

Calculates the total height of the Panel Slot

Описание методов

ArrangeStrategyControls() публичный Метод

Calculates the position of the controls
public ArrangeStrategyControls ( ) : void
Результат void

BtnClosingFilterHelp_Click() публичный Метод

Shows Closing Filter Help.
public BtnClosingFilterHelp_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

InitializeStrategySlots() публичный Метод

Initializes the strategy slots
public InitializeStrategySlots ( ) : void
Результат void

OnResize() защищенный Метод

Arranges the controls after resizing
protected OnResize ( EventArgs eventargs ) : void
eventargs System.EventArgs
Результат void

PnlProperties_Paint() публичный Метод

Panel properties Paint
public PnlProperties_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
Результат void

PnlSlot_Paint() публичный Метод

Panel Slot Paint
public PnlSlot_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
Результат void

PnlSlot_Resize() публичный Метод

Panel Strategy Resize
public PnlSlot_Resize ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

RearangeStrategyControls() публичный Метод

Rearranges all controls in panel Strategy
public RearangeStrategyControls ( ) : void
Результат void

RebuildStrategyControls() публичный Метод

Rebuilds all the controls in panel Strategy
public RebuildStrategyControls ( Strategy strategy ) : void
strategy Strategy
Результат void

RepaintStrategyControls() публичный Метод

Repaints the strategy slots
public RepaintStrategyControls ( Strategy strategy ) : void
strategy Strategy The strategy
Результат void

SetAddSlotButtons() защищенный Метод

Sets add new slot buttons
protected SetAddSlotButtons ( ) : void
Результат void

Strategy_Layout() публичный Метод

Initializes the strategy field
public Strategy_Layout ( Strategy strategy ) : System
strategy Strategy
Результат System

VScrollBarStrategy_Scroll() публичный Метод

public VScrollBarStrategy_Scroll ( object sender, ScrollEventArgs e ) : void
sender object
e System.Windows.Forms.ScrollEventArgs
Результат void

Описание свойств

abtnRemoveSlot публичное свойство

public Button[],System.Windows.Forms abtnRemoveSlot
Результат System.Windows.Forms.Button[]

apnlSlot публичное свойство

public Panel[],System.Windows.Forms apnlSlot
Результат System.Windows.Forms.Panel[]

btnAddCloseFilter публичное свойство

public Button,System.Windows.Forms btnAddCloseFilter
Результат System.Windows.Forms.Button

btnAddOpenFilter публичное свойство

public Button,System.Windows.Forms btnAddOpenFilter
Результат System.Windows.Forms.Button

pnlProperties публичное свойство

public Panel,System.Windows.Forms pnlProperties
Результат System.Windows.Forms.Panel