protected virtual void Dispose(bool disposing) { if (disposing) { // Code to dispose the managed resources of the class FontSizeChangedEventManager.RemoveListener(FontSizeManager.Instance, this); } // Code to dispose the un-managed resources of the class }
internal FontSizeData() { FontSizeChangedEventManager.AddListener(FontSizeManager.Instance, this); }