예제 #1
0
        public InputParamsPane()
        {
            var programInterface = SingletoneFactory.GetProgramInterface();

            DataContext = new InputStateViewModel(programInterface);
            InitializeComponent();
        }
예제 #2
0
        public ResultPane()
        {
            var programInterface = SingletoneFactory.GetProgramInterface();

            DataContext = SingletoneFactory.GetResultPaneViewModel(programInterface);

            InitializeComponent();
        }
예제 #3
0
        public StartButton()
        {
            var programInterface     = SingletoneFactory.GetProgramInterface();
            var resultPaneViewModel  = SingletoneFactory.GetResultPaneViewModel(programInterface);
            var resultTableViewModel = SingletoneFactory.GetResultTableViewModel();

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

            InitializeComponent();
        }