예제 #1
0
 protected void EndEdit(PropertyValueEditedEventArgs e)
 {
     if (OnEdited != null)
     {
         OnEdited(this, e);
     }
 }
예제 #2
0
 protected bool BeginEdit(PropertyValueEditedEventArgs e)
 {
     if (OnEditing != null)
     {
         PropertyValueEditingEventArgs e1 = new PropertyValueEditingEventArgs(e.PropertyName, e.OldValue, e.NewValue, false);
         OnEditing(this, e1);
         if (e1.Cancel)
         {
             return false;
         }
     }
     return true;
 }