save the user's QAT settings, assign V icon to executable

This commit is contained in:
2011-05-27 17:14:21 +00:00
parent 867a220e9d
commit 0566b7680f
3 changed files with 93 additions and 66 deletions

View File

@@ -253,6 +253,7 @@ namespace VEPROMS
Settings.Default.Size = this.Size;
}
Settings.Default.WindowState = this.WindowState;
Settings.Default.QATItems = ribbonControl1.QatLayout;
SaveMRU();
//Settings.Default.Save();
}
@@ -265,6 +266,7 @@ namespace VEPROMS
if (Settings.Default["Size"] != null) this.Size = Settings.Default.Size;
if (Settings.Default["WindowState"] != null) this.WindowState = Settings.Default.WindowState;
if (Settings.Default.SaveTreeviewExpanded)epProcedures.Expanded = Settings.Default.TreeviewExpanded;
if (Settings.Default["QATItems"] != null) ribbonControl1.QatLayout = Settings.Default.QATItems;
_MyMRIList = MostRecentItemList.GetMRILst((System.Collections.Specialized.StringCollection)(Properties.Settings.Default["MRIList"]));
_MyMRIList.AfterRemove += new ItemInfoEvent(_MyMRIList_AfterRemove);
SetupMRU();