public void UpdateTrading()
 {
     screens["Trading"] = new TradingView();
 }
Beispiel #2
0
        private void execute(object obj)
        {
            var key = obj.ToString();

            if (key == RECIPE_VIEW && screens[key] == null)
                screens[key] = new RecipeView();

            if (key == TRADING_VIEW && screens[key] == null)
                screens[key] = new TradingView();

            
            LoadView(screens[key]);
        }
        private void execute(object obj)
        {
            var key = obj.ToString();

            if (key == "Recipes" && screens[key] == null)
                screens[key] = new RecipeView();

            if (key == "Trading" && screens[key] == null)
                screens[key] = new TradingView();

            LoadView(screens[key]);
        }
 public void UpdateTrading()
 {
     screens[TRADING_VIEW] = new TradingView();
 }