Example #1
0
 // 调用事件函数
 public void OnDataChange(object sender, DataChangeEventArgs args)
 {
     if (DataChange != null)
     {
         DataChange(this, args);
     }
 }
Example #2
0
 public void DataChanged(object sender, DataChangeEventArgs args)
 {
     if (0 == args.mType)
     {
         updateCode();
     }
     else if (1 == args.mType)
     {
         setShowPassword();
     }
 }