Пример #1
0
 // event handler
 public void OnNameChange(NameChangeEventArgs args)
 {
     NameChange(this, args);
 }
Пример #2
0
 public virtual void OnDispatcherNameChange(object sender, NameChangeEventArgs args)
 {
     Console.WriteLine("Dispatcher's name changed to {0}", args.name);
 }