public MainWindow()
        {
            InitializeComponent();
            Execute.InitializeWithDispatcher();

            _vm = new MainViewModel(new SignalRHubSync(), new WpfContext());
            this.DataContext = _vm;
            _vm.Load();
        }
Пример #2
0
        public WrestlerControl()
        {
            InitializeComponent();
            Execute.InitializeWithDispatcher();

            _vm = new WrestlerControlViewModel();
            this.DataContext = _vm;
            _vm.Load();
        }