Beispiel #1
0
        private bool onClearing()
        {
            var copy = Clearing;
            if (copy == null)
                return false;

            var args = new CancelableEventArgs() { Canceled = false };
            copy(this, args);
            return args.Canceled;
        }
 public virtual void BeforeCommit(object sender, CancelableEventArgs e)
 {
     throw new ImplementationException(GetType().Name, nameof(IBeforeCommit), nameof(BeforeCommit));
 }
Beispiel #3
0
 public virtual void BeforeCommit(object source, CancelableEventArgs e)
 {
     throw new ImplementationException(this.GetType().Name, "IBeforeCommitt", "LoanEvents_BeforeCommitt");
 }
 private void Base_BeforeCommit(object sender, CancelableEventArgs e)
 {
     BeforeCommit(sender, e);
 }
Beispiel #5
0
 protected virtual void OnBeginDragMove(CancelableEventArgs e)
 {
     this.BeginDragMove?.Invoke(this, e);
 }
Beispiel #6
0
 private void OnLowPriority(object sender, CancelableEventArgs e)
 {
     LowPriority?.Invoke(sender, e);
 }