Esempio n. 1
0
        protected override async Task InitializeInternal()
        {
            this.DataContext = this.viewModel = new GameQueueMainControlViewModel((MainWindowViewModel)this.Window.ViewModel);
            await this.viewModel.OnLoaded();

            this.UserJoinedCommand.DataContext   = ChannelSession.Settings.GameQueueUserJoinedCommand;
            this.UserSelectedCommand.DataContext = ChannelSession.Settings.GameQueueUserSelectedCommand;
        }
Esempio n. 2
0
 protected override async Task InitializeInternal()
 {
     this.DataContext = this.viewModel = new GameQueueMainControlViewModel((MainWindowViewModel)this.Window.ViewModel);
     await this.viewModel.OnLoaded();
 }