C# Class Forex_Strategy_Builder.Data_Horizon

The Generator
Inheritance: System.Windows.Forms.Form
显示文件 Open project: nuggett11/Forex-Strategy-Builder Class Usage Examples

Public Methods

Method Description
Data_Horizon ( int iMaxBars, System.DateTime dtStart, System.DateTime dtEnd, bool bUseStartDate, bool bUseEndDate ) : System

Constructor

Protected Methods

Method Description
OnLoad ( EventArgs e ) : void

Performs initialization.

OnPaint ( PaintEventArgs e ) : void

Form On Paint

OnResize ( EventArgs e ) : void

Recalculates the sizes and positions of the controls after resizing.

Private Methods

Method Description
BtnHelp_Click ( object sender, EventArgs e ) : void

Go to the online help

chboxUseEndDate_CheckStateChanged ( object sender, EventArgs e ) : void

Change the bUseEndDate value

chboxUseStartDate_CheckStateChanged ( object sender, EventArgs e ) : void

Change the bUseStartDate value

dtpEndDate_ValueChanged ( object sender, EventArgs e ) : void

Change the dtpEndDate value

dtpStartDate_ValueChanged ( object sender, EventArgs e ) : void

Change the dtpStartDate value

numUpDown_ValueChanged ( object sender, EventArgs e ) : void

Change the iMaxBars value

Method Details

Data_Horizon() public method

Constructor
public Data_Horizon ( int iMaxBars, System.DateTime dtStart, System.DateTime dtEnd, bool bUseStartDate, bool bUseEndDate ) : System
iMaxBars int
dtStart System.DateTime
dtEnd System.DateTime
bUseStartDate bool
bUseEndDate bool
return System

OnLoad() protected method

Performs initialization.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnPaint() protected method

Form On Paint
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnResize() protected method

Recalculates the sizes and positions of the controls after resizing.
protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void