Fixed logic so that Most Recently Used list works when in the development environment.
This commit is contained in:
parent
9efdfd46c7
commit
dfa04a18a5
@ -746,10 +746,8 @@ namespace VEPROMS
|
|||||||
}
|
}
|
||||||
private void frmVEPROMS_FormClosing(object sender, FormClosingEventArgs e)
|
private void frmVEPROMS_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
{
|
{
|
||||||
if (MyActivityTimer != null)
|
if (MyActivityTimer != null)MyActivityTimer.Dispose();
|
||||||
{
|
if(MySessionInfo != null)MySessionInfo.EndSession();
|
||||||
MyActivityTimer.Dispose();
|
|
||||||
MySessionInfo.EndSession();
|
|
||||||
// Save the location and size of the VE-PROMS appication for this user
|
// Save the location and size of the VE-PROMS appication for this user
|
||||||
if (this.WindowState == FormWindowState.Normal)
|
if (this.WindowState == FormWindowState.Normal)
|
||||||
{
|
{
|
||||||
@ -759,7 +757,6 @@ namespace VEPROMS
|
|||||||
Settings.Default.WindowState = this.WindowState;
|
Settings.Default.WindowState = this.WindowState;
|
||||||
Settings.Default.QATItems = ribbonControl1.QatLayout;
|
Settings.Default.QATItems = ribbonControl1.QatLayout;
|
||||||
SaveMRU();
|
SaveMRU();
|
||||||
}
|
|
||||||
//Settings.Default.Save();
|
//Settings.Default.Save();
|
||||||
Volian.Base.Library.DebugPagination.Close();
|
Volian.Base.Library.DebugPagination.Close();
|
||||||
Volian.Base.Library.DebugText.Close();
|
Volian.Base.Library.DebugText.Close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user