public int OnClose(ref uint pgrfSaveOptions) { _content.SaveSettings(); _content.Model.Context.PersistSettings(); pgrfSaveOptions = (uint)__FRAMECLOSE.FRAMECLOSE_NoSave; return(Microsoft.VisualStudio.VSConstants.S_OK); }
public int OnClose(ref uint pgrfSaveOptions) { _content.SaveSettings(); _content.Model.Context.UserSettingsManager.PersistSettings(); pgrfSaveOptions = (uint)__FRAMECLOSE.FRAMECLOSE_NoSave; return(VSConstants.S_OK); }
private void Window_Closed(object sender, EventArgs e) { _packageManagerControl.SaveSettings(); _packageManagerControl.Model.Context.PersistSettings(); }