Ejemplo n.º 1
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]);
        }
Ejemplo n.º 2
0
        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]);
        }