Exemplo n.º 1
0
        public ResultPane()
        {
            var programInterface = SingletoneFactory.GetProgramInterface();

            DataContext = SingletoneFactory.GetResultPaneViewModel(programInterface);

            InitializeComponent();
        }
Exemplo n.º 2
0
        public StartButton()
        {
            var programInterface     = SingletoneFactory.GetProgramInterface();
            var resultPaneViewModel  = SingletoneFactory.GetResultPaneViewModel(programInterface);
            var resultTableViewModel = SingletoneFactory.GetResultTableViewModel();

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

            InitializeComponent();
        }