상속: Livet.ViewModel
        public MainWindowViewModel()
        {
            StatusBar = new StatusBarViewModel();
            StatusBar.TimerStart();

            SignIn = new SignInViewModel();

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

            AccessLog = new AccessLogViewModel();
        }
        public MainWindowViewModel()
        {
            StatusBar = new StatusBarViewModel();
            StatusBar.TimerStart();

            SignIn = new SignInViewModel();

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

                (SelectedTab = new StartViewModel())
            };

            AccessLog = new AccessLogViewModel();
        }
예제 #3
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);
        }
예제 #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);
        }