private void Window_Closed(object sender, EventArgs e) { if (dxVideo != null) { dxVideo.Dispose(); } }
public void Dispose() { if (IsDisposed) { return; } m_theatre.Dispose(); m_logo.Dispose(); IsDisposed = true; GC.SuppressFinalize(this); }