internal static void Dispose() { if (vcManager != null) { vcManager.Dispose(); fsWatchers.Dispose(); ovManager.Dispose(); currentProject = null; } }
/// <summary> /// Cleans up the resources. /// </summary> public void Dispose() { UnregisterAllEvents(); OverlayManager.Dispose(); }
private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { overlayManager_.Dispose(); }