Esempio n. 1
0
        public void SwitchTimeSpans(TimeSpans span)
        {
            AddTimeSpanButton.Trigger();
            TimeManager.FlashPause();

            ViewButton.SelectItem(TimeSpanMenuItemDictionary[span]);
            //CurrentViewType = viewType;
        }
Esempio n. 2
0
        public void SwitchViewType(EnergyViewType viewType)
        {
            ViewButton.Trigger();
            TimeManager.FlashPause();

            ViewButton.SelectItem(MenuItemDictionary[viewType]);
            //CurrentViewType = viewType;
        }