private void btnMPre_Click(object sender, RoutedEventArgs e) { LstBxMltAns.ItemsSource = null; if (SDK_Ctrl.UGPMan == null) { MAnalizeBtnSet(); return; } SDK_Ctrl.MovePre(); if (SDK_Ctrl.UGPMan == null) { _ResetAnalizer(true); return; } List <UPuzzle> pMltUProbLst = SDK_Ctrl.UGPMan.MltUProbLst; if (!GNPXApp000.chbConfirmMultipleCells || pMltUProbLst == null) { return; } AnalyzerCC = SDK_Ctrl.UGPMan.stageNo; GNPZ_Engin.GNPX_AnalyzerMessage = SDK_Ctrl.UGPMan.pGPsel.Sol_ResultLong; txbStepCC.Text = AnalyzerCC.ToString(); txbStepMCC.Text = txbStepCC.Text; lblAnalyzerResult.Text = SDK_Ctrl.UGPMan.pGPsel.Sol_ResultLong; selXUPP = SDK_Ctrl.UGPMan.pGPsel.IDm; if (selXUPP < 0) { return; } UPP = pMltUProbLst.ConvertAll(P => new UProbS(P)); LstBxMltAns.ItemsSource = UPP; LstBxMltAns.SelectedIndex = selXUPP; if (selXUPP < UPP.Count) { LstBxMltAns.ScrollIntoView(UPP[selXUPP]); } _Set_DGViewMethodCounter(); //Counter of applied algorithm }