public void Dispose() { if (m_fontNote != null) { m_fontNote.Dispose(); m_fontNote = null; } if (m_rgPlots != null) { m_rgPlots.Dispose(); m_rgPlots = null; } if (m_style != null) { m_style.Dispose(); m_style = null; } if (m_colLabelBrushes != null) { m_colLabelBrushes.Dispose(); m_colLabelBrushes = null; } if (m_colLineBrushes != null) { m_colLineBrushes.Dispose(); m_colLineBrushes = null; } if (m_colLinePens != null) { m_colLinePens.Dispose(); m_colLinePens = null; } if (m_colGridBrushes != null) { m_colGridBrushes.Dispose(); m_colGridBrushes = null; } }