C# Класс Forex_Strategy_Builder.Chart

Class Indicator Chart : Form
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Chart ( ) : System

The default constructor.

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

Метод Описание
OnKeyUp ( KeyEventArgs e ) : void

Call KeyUp method

OnLoad ( EventArgs e ) : void

After loading select the Scrollbar

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

Метод Описание
ButtonChart_Click ( object sender, EventArgs e ) : void

Changes chart's settings after a button click.

GenerateDynamicInfo ( int barNumb ) : void

Generates the DynamicInfo.

GenerateMouseTip ( int barNumb ) : void

When the mouse is near to an important value - show a tip

InvalidateAllPanels ( ) : void

Invalidates the panels

Panel_MouseDown ( object sender, MouseEventArgs e ) : void

Mouse button down on a panel.

Panel_MouseUp ( object sender, MouseEventArgs e ) : void

Mouse button up on a panel.

PnlBalance_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlBalance

PnlBalance_Resize ( object sender, EventArgs e ) : void

Invalidates the panel

PnlBase_Resize ( object sender, EventArgs e ) : void

Sets the sizes of the panels after resizing.

PnlFloatingPL_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel FloatingPL

PnlFloatingPL_Resize ( object sender, EventArgs e ) : void

Invalidates the panel

PnlInd_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlInd

PnlInd_Resize ( object sender, EventArgs e ) : void

Invalidates the panels

PnlInfo_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlInfo.

PnlInfo_Resize ( object sender, EventArgs e ) : void

PnlInfo Resize

PnlPrice_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

Shows the Bar Explorer

PnlPrice_MouseLeave ( object sender, EventArgs e ) : void

Deletes the cross and Dynamic Info

PnlPrice_MouseMove ( object sender, MouseEventArgs e ) : void

Invalidate Cross Old/New position and Dynamic Info

PnlPrice_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlPrice

PnlPrice_Resize ( object sender, EventArgs e ) : void

Sets the parameters after resizing of the PnlPrice.

Scroll_KeyDown ( object sender, KeyEventArgs e ) : void

Call KeyUp method

Scroll_KeyUp ( object sender, KeyEventArgs e ) : void

Call KeyUp method

Scroll_MouseWheel ( object sender, MouseEventArgs e ) : void

Scrolls the scrollbar when turning the mouse wheel.

Scroll_ValueChanged ( object sender, EventArgs e ) : void

Sets the parameters when scrolling.

SepChart_MouseLeave ( object sender, EventArgs e ) : void

Mouse leaves a chart.

SepChart_MouseMove ( object sender, MouseEventArgs e ) : void

Mouse moves inside a chart

SetAllPanelsHeight ( ) : void

Calculates the panels' height

SetPriceChartParam ( ) : void

Sets the chart's parameters.

SetupButtons ( ) : void

Sets ups the chart's buttons.

SetupChartTitle ( ) : void

Sets the indicator chart title

SetupDynInfoWidth ( ) : void

Sets the width of the info panel

SetupDynamicInfo ( ) : void

Sets the dynamic info panel

SetupIndicatorPanels ( ) : void
ShortcutKeyUp ( KeyEventArgs e ) : void

Shortcut keys

VerticalScaleDecrease ( ) : void

Changes vertical scale of the Price Chart

VerticalScaleIncrease ( ) : void

Changes vertical scale of the Price Chart

ZoomIn ( ) : void

Zooms the chart in.

ZoomOut ( ) : void

Zooms the chart out.

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

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

The default constructor.
public Chart ( ) : System
Результат System

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

Call KeyUp method
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Результат void

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

After loading select the Scrollbar
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Результат void