예제 #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);
        }
예제 #2
0
        public int OnClose(ref uint pgrfSaveOptions)
        {
            _content.SaveSettings();
            _content.Model.Context.UserSettingsManager.PersistSettings();

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