PowerArgs.Cli.ConsoleBitmap.Unlock C# (CSharp) Méthode

Unlock() public méthode

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

Usage Example

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