Inheritance: TabItemViewModel
Esempio 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();

            Update = new UpdateViewModel(CurrentVersion);
        }
Esempio n. 2
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);
        }
        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);
        }