PowerArgs.Cli.ConsoleBitmap.Unlock C# (CSharp) Method

Unlock() public method

public Unlock ( bool paint = true ) : void
paint bool
return void
        public void Unlock(bool paint = true)
        {
            IsLocked = false;
            Paint();
        }

Usage Example

Example #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // free managed resources
         if (bitmap != null)
         {
             bitmap.Unlock();
             bitmap = null;
         }
     }
 }