예제 #1
0
 public void Dispose()
 {
     if (this.owner != null)
     {
         if (this.owner.ignoreMouseMove > this.oldIgnoreMouseMove)
         {
             this.owner.ignoreMouseMove = this.oldIgnoreMouseMove;
         }
         this.owner = null;
     }
 }
예제 #2
0
 public PushIgnoreMouseMoveScope(PaintDotNet.Tools.Tool owner)
 {
     this.owner = owner;
     this.oldIgnoreMouseMove = this.owner.ignoreMouseMove;
     this.owner.ignoreMouseMove++;
 }