public void Dispose() { if (m_context != IntPtr.Zero) { Im3d.DestoryContext(m_context); m_context = IntPtr.Zero; } }