示例#1
0
 public override void speak(object sender, AnimalAskForSpeakEventArgs e)
 {
     if (e.AnimalName == "dog")
     {
         textBlock.Text += "dog: I am a dog\n";
     }
 }
示例#2
0
 public abstract void speak(object sender, AnimalAskForSpeakEventArgs e);