public InputParamsPane() { var programInterface = SingletoneFactory.GetProgramInterface(); DataContext = new InputStateViewModel(programInterface); InitializeComponent(); }
public ResultPane() { var programInterface = SingletoneFactory.GetProgramInterface(); DataContext = SingletoneFactory.GetResultPaneViewModel(programInterface); InitializeComponent(); }
public StartButton() { var programInterface = SingletoneFactory.GetProgramInterface(); var resultPaneViewModel = SingletoneFactory.GetResultPaneViewModel(programInterface); var resultTableViewModel = SingletoneFactory.GetResultTableViewModel(); DataContext = new StartButtonViewModel(programInterface, resultPaneViewModel, resultTableViewModel); InitializeComponent(); }