Example #1
0
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            RPN_Functions _rpnf = myRPN.getFunctions();

            while (!backgroundWorker1.CancellationPending)
            {
                _rpnf.executeRun();
                if (_rpnf._atStop)
                {
                    break;
                }
            }
        }