C# Class Forex_Strategy_Builder.Controls

Class Controls Account: MenuAndStatusBar
Mostra file Open project: nuggett11/Forex-Strategy-Builder

Protected Properties

Property Type Description
infpnlMarketStatistics Info_Panel
pnlJournalByBars Journal_Bars
pnlJournalByPositions Journal_Positions
pnlJournalOrder Journal_Ord
pnlJournalPosition Journal_Pos
pnlJournalRight System.Windows.Forms.Panel
selectedBar int
smallIndicatorChart Small_Indicator_Chart
splJournal System.Windows.Forms.Splitter
tsbtnCharges System.Windows.Forms.ToolStripButton
tscbPeriod System.Windows.Forms.ToolStripComboBox
tscbSymbol System.Windows.Forms.ToolStripComboBox

Public Methods

Method Description
Controls ( ) : System

The default constructor.

Protected Methods

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

Removes the journal

BtnToggleJournal_Click ( object sender, EventArgs e ) : void

Toggles the journal view

InitializeJournal ( ) : void

Initializes the controls in panel pnlJournal.

InitializeMarket ( ) : void

Initialize the controls in panel pnlMarket

PnlJournal_Click ( object sender, EventArgs e ) : void

Shows the Bar Explorer

PnlJournal_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

Shows the Bar Explorer

PnlJournal_Resize ( object sender, EventArgs e ) : void

Arranges the controls after resizing

PnlJournal_SelectedBarChange ( object sender, EventArgs e ) : void

Sets the selected bar number

ResetJournal ( ) : void

Reset the journal layout

ScrollBar_ValueChanged ( object sender, EventArgs e ) : void

Invalidates the sender after scrolling

SelectedIndexChanged ( object sender, EventArgs e ) : void

Controls the ComboBoxes: cbxSymbol, cbxPeriod, cbxTax

SetupJournal ( ) : void

Sets the journal data

SmallIndicatorChart_MouseLeave ( object sender, EventArgs e ) : void

Deletes the market dynamic info from the Status Bar

SmallIndicatorChart_MouseMove ( object sender, MouseEventArgs e ) : void

Shows the market dynamic info on the Status Bar

SmallIndicatorChart_MouseUp ( object sender, MouseEventArgs e ) : void

Shows the full chart after clicking on the small indicator chart

pnlMarket_Resize ( object sender, EventArgs e ) : void

Arrange the controls after resizing

tsMarket_Resize ( object sender, EventArgs e ) : void

Arrange the controls after resizing

Method Details

BtnRemoveJournal_Click() protected method

Removes the journal
protected BtnRemoveJournal_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

BtnToggleJournal_Click() protected method

Toggles the journal view
protected BtnToggleJournal_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Controls() public method

The default constructor.
public Controls ( ) : System
return System

InitializeJournal() protected method

Initializes the controls in panel pnlJournal.
protected InitializeJournal ( ) : void
return void

InitializeMarket() protected method

Initialize the controls in panel pnlMarket
protected InitializeMarket ( ) : void
return void

PnlJournal_Click() protected method

Shows the Bar Explorer
protected PnlJournal_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

PnlJournal_MouseDoubleClick() protected method

Shows the Bar Explorer
protected PnlJournal_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

PnlJournal_Resize() protected method

Arranges the controls after resizing
protected PnlJournal_Resize ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

PnlJournal_SelectedBarChange() protected method

Sets the selected bar number
protected PnlJournal_SelectedBarChange ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ResetJournal() protected method

Reset the journal layout
protected ResetJournal ( ) : void
return void

ScrollBar_ValueChanged() protected method

Invalidates the sender after scrolling
protected ScrollBar_ValueChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SelectedIndexChanged() protected method

Controls the ComboBoxes: cbxSymbol, cbxPeriod, cbxTax
protected SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SetupJournal() protected method

Sets the journal data
protected SetupJournal ( ) : void
return void

SmallIndicatorChart_MouseLeave() protected method

Deletes the market dynamic info from the Status Bar
protected SmallIndicatorChart_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SmallIndicatorChart_MouseMove() protected method

Shows the market dynamic info on the Status Bar
protected SmallIndicatorChart_MouseMove ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

SmallIndicatorChart_MouseUp() protected method

Shows the full chart after clicking on the small indicator chart
protected SmallIndicatorChart_MouseUp ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

pnlMarket_Resize() protected method

Arrange the controls after resizing
protected pnlMarket_Resize ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

tsMarket_Resize() protected method

Arrange the controls after resizing
protected tsMarket_Resize ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

infpnlMarketStatistics protected_oe property

protected Info_Panel,Forex_Strategy_Builder infpnlMarketStatistics
return Info_Panel

pnlJournalByBars protected_oe property

protected Journal_Bars,Forex_Strategy_Builder pnlJournalByBars
return Journal_Bars

pnlJournalByPositions protected_oe property

protected Journal_Positions,Forex_Strategy_Builder pnlJournalByPositions
return Journal_Positions

pnlJournalOrder protected_oe property

protected Journal_Ord,Forex_Strategy_Builder pnlJournalOrder
return Journal_Ord

pnlJournalPosition protected_oe property

protected Journal_Pos pnlJournalPosition
return Journal_Pos

pnlJournalRight protected_oe property

protected Panel,System.Windows.Forms pnlJournalRight
return System.Windows.Forms.Panel

selectedBar protected_oe property

protected int selectedBar
return int

smallIndicatorChart protected_oe property

protected Small_Indicator_Chart,Forex_Strategy_Builder smallIndicatorChart
return Small_Indicator_Chart

splJournal protected_oe property

protected Splitter,System.Windows.Forms splJournal
return System.Windows.Forms.Splitter

tsbtnCharges protected_oe property

protected ToolStripButton,System.Windows.Forms tsbtnCharges
return System.Windows.Forms.ToolStripButton

tscbPeriod protected_oe property

protected ToolStripComboBox,System.Windows.Forms tscbPeriod
return System.Windows.Forms.ToolStripComboBox

tscbSymbol protected_oe property

protected ToolStripComboBox,System.Windows.Forms tscbSymbol
return System.Windows.Forms.ToolStripComboBox