private void Dispose(bool disposing) { if (disposing && this.m_sharedFont != null) { this.m_sharedFont.Dispose(); this.m_sharedFont = null; } }
public CanvasFont(CanvasFont copyFont) { this.m_gdiFont = copyFont.GDIFont; this.m_stringFormat = copyFont.TrimStringFormat; this.m_writingModeTopBottom = copyFont.WritingModeTopBottom; }
public TextBoxSharedInfo(CanvasFont font, int sharedState) { this.m_sharedFont = font; this.m_sharedState = sharedState; }