Пример #1
0
        public override void StartUp()
        {
            PerformanceView view = new PerformanceView();

            view.DataContext = new PerformanceViewModel();
            GumCommands.Self.GuiCommands.AddControl(view, "Performance");
        }
Пример #2
0
        public override void StartUp()
        {
            view             = new PerformanceView();
            view.DataContext = new PerformanceViewModel();

            // This doesn't work currently so we're not going to show it, it just gets in the way.
            //GumCommands.Self.GuiCommands.AddControl(view, "Performance");
        }
Пример #3
0
 public MainWindowViewModel(PerformanceView performanceView)
 {
     PerformanceView = performanceView;
     //LiveDataViewModel.Collection.Clear();
     //LiveDataViewModel.Collection.Add(new Data() { Value = 1, Value1 = 1 });
     //LiveDataViewModel.Collection.Add(new Data() { Value = 2, Value1 = 2 });
     //LiveDataViewModel.Collection.Add(new Data() { Value = 3, Value1 = 3 });
     //LiveDataViewModel.Collection.Add(new Data() { Value = 4, Value1 = 4 });
 }