public void FrapperAuMur(object sender, MyArgs args) { Radio r = sender as Radio; Console.WriteLine("{0} ! Arrête de faire du bruit à {1:HH} heure", r.Proprio, args.InstantT); }
public void Ecouter(object destinateur, MyArgs args) { Console.WriteLine(String.Format("Quelque chose est arrivé à {0} le {1:d/M/yyyy à HH:mm:ss}", destinateur, args.InstantT)); }