public Window1() { InitializeComponent(); runViewModel = new RunViewModel(); DataContext = runViewModel; List <ISearchStrategy> strategies = MyLocalSearches.GenerateSearchesTimeOut(); cboOptions.ItemsSource = strategies; cboOptions.SelectedIndex = strategies.Count - 1; graphViewModel = new GraphViewModel() { BoundX = 100, BoundY = 100, NodeCount = 25, Seed = 255 }; runViewModel.Graph = graphViewModel.ToGraph(); ReadyToComputeCheck(); }