示例#1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // Code to dispose the managed resources of the class
         FontFamilyChangedEventManager.RemoveListener(FontFamilyManager.Instance, this);
     }
     // Code to dispose the un-managed resources of the class
 }
示例#2
0
 internal FontFamilyData()
 {
     FontFamilyChangedEventManager.AddListener(FontFamilyManager.Instance, this);
 }