Inheritance: Livet.ViewModel
Ejemplo n.º 1
0
        public MainWindowViewModel()
        {
            StatusBar = new StatusBarViewModel();
            StatusBar.TimerStart();

            SignIn = new SignInViewModel();

            TabItems = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher)
            {
                (SelectedTab = new StartViewModel())
            };

            AccessLog = new AccessLogViewModel();
        }
Ejemplo n.º 2
0
        public MainWindowViewModel()
        {
            StatusBar = new StatusBarViewModel();
            StatusBar.TimerStart();

            SignIn = new SignInViewModel();

            TabItems = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher) {

                (SelectedTab = new StartViewModel())
            };

            AccessLog = new AccessLogViewModel();
        }
Ejemplo n.º 3
0
        public MainWindowViewModel()
        {
            ThemeSelector = new ThemeSelectorService();
            ThemeSelector.ChangeTheme((ThemeColors)Enum.Parse(typeof(ThemeColors), Settings.Instance.ThemeColor));

            //ステータスバーを初期化してタイマーをスタートさせる
            StatusBar = new StatusBarViewModel();
            StatusBar.TimerStart();

            MainContent = new MainContentViewModel(this);


            MainContent.AddSystemTab(Start = new StartViewModel());
            MainContent.SelectedTab        = Start;
            //
            SignIn = new SignInViewModel();
            Status = "サインイン中";
        }
Ejemplo n.º 4
0
        public MainWindowViewModel()
        {
            StatusBar = new StatusBarViewModel();
            StatusBar.TimerStart();

            SignIn = new SignInViewModel();

            TabItems = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher) {

                (SelectedTab = new StartViewModel())
            };

            VideoTabs = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher);
            UserTabs = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher);
            MylistTabs = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher);
            CommunityTabs = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher);
            LiveTabs = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher);
            PlayListTabs = new DispatcherCollection<TabItemViewModel>(DispatcherHelper.UIDispatcher);

            AccessLog = new AccessLogViewModel();

            Update = new UpdateViewModel(CurrentVersion);
        }
Ejemplo n.º 5
0
        public MainWindowViewModel()
        {
            StatusBar = new StatusBarViewModel();
            StatusBar.TimerStart();

            SignIn = new SignInViewModel();

            TabItems = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher)
            {
                (SelectedTab = new StartViewModel())
            };

            VideoTabs     = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher);
            UserTabs      = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher);
            MylistTabs    = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher);
            CommunityTabs = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher);
            LiveTabs      = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher);
            PlayListTabs  = new DispatcherCollection <TabItemViewModel>(DispatcherHelper.UIDispatcher);


            AccessLog = new AccessLogViewModel();

            Update = new UpdateViewModel(CurrentVersion);
        }