예제 #1
0
 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();
 }
예제 #3
0
 private void BtnShowCombination_OnClick(object sender, RoutedEventArgs e)
 {
     LocalTaskLayer.CreateCombinations(_baseLayer);
 }