Esempio n. 1
0
        private void _ResetAnalizer(bool AllF = true)
        {
            if (OnWork > 0)
            {
                return;
            }
            AnalyzerCC = 0;

            txbStepCC.Text           = "0";
            txbStepMCC.Text          = "0";
            btnSolveUp.Content       = pRes.btnSolveUp;
            lblAnalyzerResult.Text   = "";
            lblUnderAnalysis.Content = "";
            Lbl_onAnalyzerTS.Content = "";

            Lbl_onAnalyzerM.Content   = "";
            Lbl_onAnalyzerTSM.Content = "";
            lblAnalyzerResultM.Text   = "";

            btnMultiSolve.IsEnabled = true;
            UPP.Clear();
            LstBxMltAns.ItemsSource = null;
//q            SDK_Ctrl.UGPMan.MltUProbLst=new List<UPuzzle>();
            txbEpapsedTimeTS3.Text = "";

            GNP00.GNPX_Eng.AnMan.ResetAnalysisResult(AllF);
            GNP00.GNPX_Eng.AnalyzerCounterReset();
            SDK_Ctrl.UGPMan = null;           //Initialize Step/Multiple Solution search

            displayTimer.Stop();
            _SetScreenProblem();
        }
Esempio n. 2
0
        private void btnAnalyzerResetAll_Click(object sender, RoutedEventArgs e)
        {
            Thickness X = PB_GBoard.Margin;   //◆

            PB_GBoard.Margin = new Thickness(X.Left + 2, X.Top + 2, X.Right, X.Bottom);
            _ResetAnalizer(true);
            bruMoveTimer.Start();
            UPP.Clear();
            GNP00.GNPX_Eng.MethodLst_Run.ForEach(P => P.UsedCC = 0);
            //q            SDK_Ctrl.UGPMan.MltUProbLst=new List<UPuzzle>();
            MAnalizeBtnSet();
        }