Fixed logic so that Most Recently Used list works when in the development environment.

This commit is contained in:
Rich 2014-09-12 13:58:10 +00:00
parent 9efdfd46c7
commit dfa04a18a5

View File

@ -746,10 +746,8 @@ namespace VEPROMS
}
private void frmVEPROMS_FormClosing(object sender, FormClosingEventArgs e)
{
if (MyActivityTimer != null)
{
MyActivityTimer.Dispose();
MySessionInfo.EndSession();
if (MyActivityTimer != null)MyActivityTimer.Dispose();
if(MySessionInfo != null)MySessionInfo.EndSession();
// Save the location and size of the VE-PROMS appication for this user
if (this.WindowState == FormWindowState.Normal)
{
@ -759,7 +757,6 @@ namespace VEPROMS
Settings.Default.WindowState = this.WindowState;
Settings.Default.QATItems = ribbonControl1.QatLayout;
SaveMRU();
}
//Settings.Default.Save();
Volian.Base.Library.DebugPagination.Close();
Volian.Base.Library.DebugText.Close();