public void Shout() { Console.WriteLine("喵喵喵"); if (catShout != null) { Cat5thShoutEventArgs e = new Cat5thShoutEventArgs(Name); catShout(this, e); } }
public void Jump(object sender, Cat5thShoutEventArgs e) { Console.WriteLine("{0} 来了。 {1} 跳了起来", e.CatName, Name); }