public PageCombinations(BaseLayer baseLayer) { InitializeComponent(); _baseLayer = baseLayer; LocalTaskLayer.taskParams.Task = baseLayer.Task; grid_taskParam.DataContext = LocalTaskLayer.taskParams; LocalTaskLayer.CreateCombinations(_baseLayer); _combinationListViewModel = new CombinationWithParamListViewModel(_baseLayer); CombinationListControl.DataContext = _combinationListViewModel; }
private void BtnShowSolution_OnClick(object sender, RoutedEventArgs e) { LocalTaskLayer.SolveCP(_baseLayer); _baseLayer.SolveThisTask(null); GrdSolutionLst.Items.Refresh(); }
private void BtnShowCombination_OnClick(object sender, RoutedEventArgs e) { LocalTaskLayer.CreateCombinations(_baseLayer); }