public void Answer(object sender, CalcEventArgs e)
        {
            try
            {
                if (EventFinishCalcDem != null)
                {
                    EventFinishCalcDem(this, e);  // тот ли объект??
                }
                Thread.Sleep(e.Time);

                Calculator calculate = new Calculator(e.Time);
                calculate.EventFinishCalc += this.Answer;
                calculate.Calc();
            }
            catch (Exception) { }
        }
        public void CalcPrint(object sender, CalcEventArgs e)
        {
            String str = "Количество полупростых чисел на промежутке [ " + e.A.ToString() + ";" + e.B.ToString() + " ] : " + e.Amount.ToString();

            AddText(textBox2, str, true);
        }