public void Substract(object sender, Calculator.CalculateEventArgs e) { Console.WriteLine(e.x - e.y); }
//定义消息通知方法 public void Add(object sender, Calculator.CalculateEventArgs e) { Console.WriteLine(e.x + e.y); }