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