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

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

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