Esempio n. 1
0
        public int OnClose(ref uint pgrfSaveOptions)
        {
            _content.SaveSettings();
            _content.Model.Context.PersistSettings();

            pgrfSaveOptions = (uint)__FRAMECLOSE.FRAMECLOSE_NoSave;
            return(Microsoft.VisualStudio.VSConstants.S_OK);
        }
Esempio n. 2
0
        public int OnClose(ref uint pgrfSaveOptions)
        {
            _content.SaveSettings();
            _content.Model.Context.UserSettingsManager.PersistSettings();

            pgrfSaveOptions = (uint)__FRAMECLOSE.FRAMECLOSE_NoSave;
            return(VSConstants.S_OK);
        }
Esempio n. 3
0
 private void Window_Closed(object sender, EventArgs e)
 {
     _packageManagerControl.SaveSettings();
     _packageManagerControl.Model.Context.PersistSettings();
 }