コード例 #1
0
 /// <summary>
 /// Releases all resources used by this bitmap.
 /// </summary>
 public void Dispose()
 {
     if (implementation != null)
     {
         implementation.Dispose();
     }
 }
コード例 #2
0
ファイル: Bitmap.cs プロジェクト: klenin/Citrus
        private void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    if (implementation != null)
                    {
                        implementation.Dispose();
                        implementation = null;
                    }
                }

                disposed = true;
            }
        }