private void basicIdeCtl1_EnterDesignMode(object sender, WinWrap.Basic.Classic.DesignModeEventArgs e) { if (module_ != null) { module_.Dispose(); module_ = null; basicIdeCtl1.UnloadModule("Globals.bas"); } }
public void Dispose() { if (instance != null) { instance.Dispose(); instance = null; } if (module != null) { module.Dispose(); module = null; } }