예제 #1
0
        public void SwitchTimeSpans(TimeSpans span)
        {
            AddTimeSpanButton.Trigger();
            TimeManager.FlashPause();

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

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