Пример #1
0
        public StartButton()
        {
            var programInterface     = SingletoneFactory.GetProgramInterface();
            var resultPaneViewModel  = SingletoneFactory.GetResultPaneViewModel(programInterface);
            var resultTableViewModel = SingletoneFactory.GetResultTableViewModel();

            DataContext = new StartButtonViewModel(programInterface, resultPaneViewModel, resultTableViewModel);

            InitializeComponent();
        }
Пример #2
0
 public ResultTable()
 {
     DataContext = SingletoneFactory.GetResultTableViewModel();
     InitializeComponent();
 }