private void FinishB_Click(object sender, EventArgs e) { Demonstrator dm = new Demonstrator(); dm.stopCalc += Calculator.FinishHandler; dm.StopCalc(); }
public void SetDemonstrator(Demonstrator demonstrator_) { demonstrator = demonstrator_; demonstrator.DemonEvent += new DemonEventHandler(Stop); }