Пример #1
0
        private void FinishB_Click(object sender, EventArgs e)
        {
            Demonstrator dm = new Demonstrator();

            dm.stopCalc += Calculator.FinishHandler;
            dm.StopCalc();
        }
Пример #2
0
 public void SetDemonstrator(Demonstrator demonstrator_)
 {
     demonstrator             = demonstrator_;
     demonstrator.DemonEvent += new DemonEventHandler(Stop);
 }