C# Class Forex_Strategy_Builder.Menu_and_StatusBar

Provides the StatusBar and MainMenu
Inheritance: Forex_Strategy_Builder.Workspace
显示文件 Open project: nuggett11/Forex-Strategy-Builder

Protected Properties

Property Type Description
miAccountShowInMoney System.Windows.Forms.ToolStripMenuItem
miAccountShowInPips System.Windows.Forms.ToolStripMenuItem
miForex System.Windows.Forms.ToolStripMenuItem
miJournalByBars System.Windows.Forms.ToolStripMenuItem
miJournalByPos System.Windows.Forms.ToolStripMenuItem
miLiveContent System.Windows.Forms.ToolStripMenuItem
miStrategyAUPBV System.Windows.Forms.ToolStripMenuItem
miStrategyAutoscan System.Windows.Forms.ToolStripMenuItem

Public Methods

Method Description
Menu_and_StatusBar ( ) : System

The default constructor

Protected Methods

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

Whether to express account in pips or in currency

AdditionalStats_OnClick ( object sender, EventArgs e ) : void

Menu miAdditionalStats mode click

Export_OnClick ( object sender, EventArgs e ) : void

Export menu

InitializeMenu ( ) : void

Sets the Main Menu.

InitializeStatusBar ( ) : void

Sets the StatusBar

Language_Click ( object sender, EventArgs e ) : void
LoadCustomIndicators_OnClick ( object sender, EventArgs e ) : void

Menu LoadCustomIndicators click

MenuAccountSettings_OnClick ( object sender, EventArgs e ) : void

Open the account setting dialog

MenuAnalysisCalculate_OnClick ( object sender, EventArgs e ) : void

Forces the calculating of the strategy

MenuCheckData_OnClick ( object sender, EventArgs e ) : void

Check the data

MenuClosingLogicSlots_OnClick ( object sender, EventArgs e ) : void

Menu MenuClosingLogicSlots_OnClick

MenuDataDirectory_OnClick ( object sender, EventArgs e ) : void

Data Directory

MenuDataHorizon_OnClick ( object sender, EventArgs e ) : void

Data Horizon

MenuDetailedBacktest_OnClick ( object sender, EventArgs e ) : void

Performs a detailed back-test

MenuFileOpen_OnClick ( object sender, EventArgs e ) : void

Opens a saved strategy

MenuFileSaveAs_OnClick ( object sender, EventArgs e ) : void

Opens the SaveAs menu

MenuFileSave_OnClick ( object sender, EventArgs e ) : void

Saves the current strategy

MenuGradientView_OnClick ( object sender, EventArgs e ) : void

Gradient View Changed

MenuHelpNewBeta_OnClick ( object sender, EventArgs e ) : void

Menu miHelpNewBeta click

MenuHelpUpdates_OnClick ( object sender, EventArgs e ) : void

Menu miHelpUpdates click

MenuJournal_OnClick ( object sender, EventArgs e ) : void

Menu Journal mode click

MenuLoadColor_OnClick ( object sender, EventArgs e ) : void

Load a color scheme

MenuLoadData_OnClick ( object sender, EventArgs e ) : void

Loads data

MenuNextHistory_OnClick ( object sender, EventArgs e ) : void

Menu MenuNextHistory_OnClick

MenuOpeningLogicSlots_OnClick ( object sender, EventArgs e ) : void

Menu MenuOpeningLogicSlots_OnClick

MenuPrevHistory_OnClick ( object sender, EventArgs e ) : void

Menu MenuPrevHistory_OnClick

MenuQuickScan_OnClick ( object sender, EventArgs e ) : void

Forces the scanning of the strategy

MenuRefineData_OnClick ( object sender, EventArgs e ) : void

Refine the data

MenuStrategyAUPBV_OnClick ( object sender, EventArgs e ) : void

Opens the strategy settings dialogue

MenuStrategyAddCloseFilter_OnClick ( object sender, EventArgs e ) : void

Add a new Close Filter

MenuStrategyAddOpenFilter_OnClick ( object sender, EventArgs e ) : void

Add a new Open Filter

MenuStrategyAutoscan_OnClick ( object sender, EventArgs e ) : void

Autoscan

MenuStrategyBBcode_OnClick ( object sender, EventArgs e ) : void

Export the strategy in BBCode format - ready to post in the forum

MenuStrategyNew_OnClick ( object sender, EventArgs e ) : void

Loads the default strategy

MenuStrategyOverview_OnClick ( object sender, EventArgs e ) : void

Opens the strategy overview window

MenuStrategyRemember_OnClick ( object sender, EventArgs e ) : void

Remember the last used strategy

MenuStrategySettings_OnClick ( object sender, EventArgs e ) : void

Opens the strategy settings dialogue

MenuStrategyUndo_OnClick ( object sender, EventArgs e ) : void

Undoes the strategy

MenuTools_OnClick ( object sender, EventArgs e ) : void

Tools menu

MenuUseLogicalGroups_OnClick ( object sender, EventArgs e ) : void

Use logical groups menu item.

MenuViewFullScreen_OnClick ( object sender, EventArgs e ) : void

Change Full Scream mode

ShowAccountChart_OnClick ( object sender, EventArgs e ) : void

Show the full Account Chart

ShowCustomIndicators_OnClick ( object sender, EventArgs e ) : void

Menu ShowCustomIndicators click

ShowPriceChart_OnClick ( object sender, EventArgs e ) : void

Show the full Price Chart

ShowPriceLine_OnClick ( object sender, EventArgs e ) : void

Menu ShowPriceLine_OnClick

TradeUntilMC_OnClick ( object sender, EventArgs e ) : void

Menu TradeUntilMC mode click

Private Methods

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

Closes the program

MenuForexContentsOnClick ( object sender, EventArgs e ) : void

Opens the forex news

MenuHelpAboutOnClick ( object sender, EventArgs e ) : void

Opens the about window

MenuHelpContentsOnClick ( object sender, EventArgs e ) : void

Opens the help window

Timer_Tick ( object sender, EventArgs e ) : void

Updates the clock in the status bar.

Method Details

AccountShowInMoney_OnClick() protected method

Whether to express account in pips or in currency
protected AccountShowInMoney_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

AdditionalStats_OnClick() protected method

Menu miAdditionalStats mode click
protected AdditionalStats_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Export_OnClick() protected method

Export menu
protected Export_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

InitializeMenu() protected method

Sets the Main Menu.
protected InitializeMenu ( ) : void
return void

InitializeStatusBar() protected method

Sets the StatusBar
protected InitializeStatusBar ( ) : void
return void

Language_Click() protected method

protected Language_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

LoadCustomIndicators_OnClick() protected method

Menu LoadCustomIndicators click
protected LoadCustomIndicators_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuAccountSettings_OnClick() protected method

Open the account setting dialog
protected MenuAccountSettings_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuAnalysisCalculate_OnClick() protected method

Forces the calculating of the strategy
protected MenuAnalysisCalculate_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuCheckData_OnClick() protected method

Check the data
protected MenuCheckData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuClosingLogicSlots_OnClick() protected method

Menu MenuClosingLogicSlots_OnClick
protected MenuClosingLogicSlots_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuDataDirectory_OnClick() protected method

Data Directory
protected MenuDataDirectory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuDataHorizon_OnClick() protected method

Data Horizon
protected MenuDataHorizon_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuDetailedBacktest_OnClick() protected method

Performs a detailed back-test
protected MenuDetailedBacktest_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuFileOpen_OnClick() protected method

Opens a saved strategy
protected MenuFileOpen_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuFileSaveAs_OnClick() protected method

Opens the SaveAs menu
protected MenuFileSaveAs_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuFileSave_OnClick() protected method

Saves the current strategy
protected MenuFileSave_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuGradientView_OnClick() protected method

Gradient View Changed
protected MenuGradientView_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuHelpNewBeta_OnClick() protected method

Menu miHelpNewBeta click
protected MenuHelpNewBeta_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuHelpUpdates_OnClick() protected method

Menu miHelpUpdates click
protected MenuHelpUpdates_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuJournal_OnClick() protected method

Menu Journal mode click
protected MenuJournal_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuLoadColor_OnClick() protected method

Load a color scheme
protected MenuLoadColor_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuLoadData_OnClick() protected method

Loads data
protected MenuLoadData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuNextHistory_OnClick() protected method

Menu MenuNextHistory_OnClick
protected MenuNextHistory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuOpeningLogicSlots_OnClick() protected method

Menu MenuOpeningLogicSlots_OnClick
protected MenuOpeningLogicSlots_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuPrevHistory_OnClick() protected method

Menu MenuPrevHistory_OnClick
protected MenuPrevHistory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuQuickScan_OnClick() protected method

Forces the scanning of the strategy
protected MenuQuickScan_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuRefineData_OnClick() protected method

Refine the data
protected MenuRefineData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyAUPBV_OnClick() protected method

Opens the strategy settings dialogue
protected MenuStrategyAUPBV_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyAddCloseFilter_OnClick() protected method

Add a new Close Filter
protected MenuStrategyAddCloseFilter_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyAddOpenFilter_OnClick() protected method

Add a new Open Filter
protected MenuStrategyAddOpenFilter_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyAutoscan_OnClick() protected method

Autoscan
protected MenuStrategyAutoscan_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyBBcode_OnClick() protected method

Export the strategy in BBCode format - ready to post in the forum
protected MenuStrategyBBcode_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyNew_OnClick() protected method

Loads the default strategy
protected MenuStrategyNew_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyOverview_OnClick() protected method

Opens the strategy overview window
protected MenuStrategyOverview_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyRemember_OnClick() protected method

Remember the last used strategy
protected MenuStrategyRemember_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategySettings_OnClick() protected method

Opens the strategy settings dialogue
protected MenuStrategySettings_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuStrategyUndo_OnClick() protected method

Undoes the strategy
protected MenuStrategyUndo_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuTools_OnClick() protected method

Tools menu
protected MenuTools_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuUseLogicalGroups_OnClick() protected method

Use logical groups menu item.
protected MenuUseLogicalGroups_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MenuViewFullScreen_OnClick() protected method

Change Full Scream mode
protected MenuViewFullScreen_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Menu_and_StatusBar() public method

The default constructor
public Menu_and_StatusBar ( ) : System
return System

ShowAccountChart_OnClick() protected method

Show the full Account Chart
protected ShowAccountChart_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ShowCustomIndicators_OnClick() protected method

Menu ShowCustomIndicators click
protected ShowCustomIndicators_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ShowPriceChart_OnClick() protected method

Show the full Price Chart
protected ShowPriceChart_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ShowPriceLine_OnClick() protected method

Menu ShowPriceLine_OnClick
protected ShowPriceLine_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

TradeUntilMC_OnClick() protected method

Menu TradeUntilMC mode click
protected TradeUntilMC_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

miAccountShowInMoney protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miAccountShowInMoney
return System.Windows.Forms.ToolStripMenuItem

miAccountShowInPips protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miAccountShowInPips
return System.Windows.Forms.ToolStripMenuItem

miForex protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miForex
return System.Windows.Forms.ToolStripMenuItem

miJournalByBars protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miJournalByBars
return System.Windows.Forms.ToolStripMenuItem

miJournalByPos protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miJournalByPos
return System.Windows.Forms.ToolStripMenuItem

miLiveContent protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miLiveContent
return System.Windows.Forms.ToolStripMenuItem

miStrategyAUPBV protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miStrategyAUPBV
return System.Windows.Forms.ToolStripMenuItem

miStrategyAutoscan protected_oe property

protected ToolStripMenuItem,System.Windows.Forms miStrategyAutoscan
return System.Windows.Forms.ToolStripMenuItem