Example #1
0
 private static void OnNameChanged(object sender, NameChangedEventArgs args)
 {
     Console.WriteLine("Name changed from {0} to {1}", args.OldValue, args.NewValue);
 }
Example #2
0
 private static void OnNameChanged2(object sender, NameChangedEventArgs args)
 {
     Console.WriteLine("The name is now:");
 }
Example #3
0
 private static void OnNameChanged2(object sender, NameChangedEventArgs args)
 {
     Console.WriteLine("The name is now:");
 }
Example #4
0
 private static void OnNameChanged(object sender, NameChangedEventArgs args)
 {
     Console.WriteLine("Name changed from {0} to {1}", args.OldValue, args.NewValue);
 }