Commit Latest
This commit is contained in:
@@ -97,7 +97,7 @@ namespace PortfolioManager.ViewModels
|
||||
{
|
||||
return new List<CommandViewModel>()
|
||||
{
|
||||
new CommandViewModel("ScottPlot", new MyRelayCommand(ParamArrayAttribute => this.ViewScottPlot())),
|
||||
// new CommandViewModel("ScottPlot", new MyRelayCommand(ParamArrayAttribute => this.ViewScottPlot())),
|
||||
new CommandViewModel("Bollinger Bands", new MyRelayCommand(ParamArrayAttribute => this.ViewBollingerBands())),
|
||||
new CommandViewModel("Gain/Loss", new MyRelayCommand(ParamArrayAttribute => this.ViewGainLoss())),
|
||||
new CommandViewModel("Momentum Model", new MyRelayCommand(ParamArrayAttribute => this.ViewMomentum())),
|
||||
@@ -107,19 +107,19 @@ namespace PortfolioManager.ViewModels
|
||||
};
|
||||
}
|
||||
|
||||
private void ViewScottPlot()
|
||||
{
|
||||
ScottPlotViewModel workspace = null;
|
||||
if (null == workspace)
|
||||
{
|
||||
workspace = new ScottPlotViewModel();
|
||||
workspace.WorkspaceInstantiator = InstantiateWorkspace;
|
||||
workspace.Referer = GetReferal();
|
||||
// AddMenuItem(workspace);
|
||||
this.Workspaces.Add(workspace);
|
||||
}
|
||||
this.SetActiveWorkspace(workspace);
|
||||
}
|
||||
// private void ViewScottPlot()
|
||||
// {
|
||||
// ScottPlotViewModel workspace = null;
|
||||
// if (null == workspace)
|
||||
// {
|
||||
// workspace = new ScottPlotViewModel();
|
||||
// workspace.WorkspaceInstantiator = InstantiateWorkspace;
|
||||
// workspace.Referer = GetReferal();
|
||||
// // AddMenuItem(workspace);
|
||||
// this.Workspaces.Add(workspace);
|
||||
// }
|
||||
// this.SetActiveWorkspace(workspace);
|
||||
// }
|
||||
|
||||
private void ViewBollingerBands()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user