| 123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace Test
- {
- class Program
- {
- static void Main(string[] args)
- {
- ModelProxy m = new ModelProxy();
- m.PropertyChanged += M_PropertyChanged;
- m.Name = "333";
- Console.ReadLine();
- }
-
- private static void M_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
- {
- Console.WriteLine("Run Run Run");
- }
- }
- }
|