示例#1
0
 protected override void DisposeManagedResources()
 {
     base.DisposeManagedResources();
     Image?.Dispose();
     Image = null;
     Miniature?.Dispose();
     Miniature = null;
 }
示例#2
0
 protected override void DisposeManagedResources()
 {
     base.DisposeManagedResources();
     Miniature?.Dispose();
     Freehand?.Dispose();
     foreach (var drawable in Drawables)
     {
         drawable.Dispose();
     }
     Drawables.Clear();
 }
示例#3
0
 protected override void DisposeManagedResources()
 {
     base.DisposeManagedResources();
     Miniature?.Dispose();
     foreach (var drawing in Drawings)
     {
         drawing.Dispose();
     }
     Drawings.Clear();
     foreach (var tag in Tags)
     {
         tag.Dispose();
     }
     Tags.Clear();
     Players.Clear();
     Teams.Clear();
     Project   = null;
     Storage   = null;
     EventType = null;
 }