Kill the process after closing the main app window. The process was remaining in memory for an extended period of time after it was closed. This removes it from memory immediately.

Added "Fix Symbol Font" button
Don't open a DSOFramer if it fails - Fixed B2012-267.
Replace an automatic function with a manual function to fix Symbol fonts. Fixed B2012-259.
This commit is contained in:
Rich
2012-10-10 19:12:59 +00:00
parent 6e082b3076
commit 537213ee7a
4 changed files with 55 additions and 19 deletions

View File

@@ -72,6 +72,7 @@ namespace VEPROMS
this.lblItemID = new DevComponents.DotNetBar.LabelItem();
this.lblResolution = new DevComponents.DotNetBar.LabelItem();
this.btnEditItem = new DevComponents.DotNetBar.ButtonItem();
this.btnFixMSWord = new DevComponents.DotNetBar.ButtonItem();
this.epAnnotations = new DevComponents.DotNetBar.ExpandablePanel();
this.ctrlAnnotationDetails = new Volian.Controls.Library.AnnotationDetails();
this.btnAnnoDetailsPushPin = new DevComponents.DotNetBar.ButtonX();
@@ -483,7 +484,8 @@ namespace VEPROMS
this.btnItemInfo,
this.lblItemID,
this.lblResolution,
this.btnEditItem});
this.btnEditItem,
this.btnFixMSWord});
this.bottomBar.Location = new System.Drawing.Point(5, 552);
this.bottomBar.Name = "bottomBar";
this.bottomBar.Size = new System.Drawing.Size(1185, 29);
@@ -561,6 +563,14 @@ namespace VEPROMS
this.btnItemInfo.Text = "ItemInfo";
this.btnItemInfo.Click += new System.EventHandler(this.btnItemInfo_Click);
//
// btnFixMSWord
//
this.btnFixMSWord.ForeColor = System.Drawing.Color.Black;
this.btnFixMSWord.Name = "btnFixMSWord";
this.btnFixMSWord.Text = "Fix Symbol Fonts";
this.btnFixMSWord.Click += new System.EventHandler(this.btnFixMSWord_Click);
this.btnFixMSWord.Visible = false;
//
// lblItemID
//
this.lblItemID.Name = "lblItemID";
@@ -1375,6 +1385,7 @@ namespace VEPROMS
this.Text = "Proms";
this.Load += new System.EventHandler(this.frmVEPROMS_Load);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmVEPROMS_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(frmVEPROMS_FormClosed);
this.Resize += new System.EventHandler(this.frmVEPROMS_Resize);
((System.ComponentModel.ISupportInitialize)(this.bottomBar)).EndInit();
this.bottomBar.ResumeLayout(false);
@@ -1401,7 +1412,6 @@ namespace VEPROMS
this.ResumeLayout(false);
}
#endregion
private DevComponents.DotNetBar.RibbonControl ribbonControl1;
@@ -1503,6 +1513,7 @@ namespace VEPROMS
private Volian.Controls.Library.DisplaySearch displaySearch1;
private DevComponents.DotNetBar.LabelItem lblEditView;
private DevComponents.DotNetBar.ButtonItem btnItemInfo;
private DevComponents.DotNetBar.ButtonItem btnFixMSWord;
private Volian.Controls.Library.DisplayBookMarks displayBookMarks;
private DevComponents.DotNetBar.LabelItem lblLocked;
private DevComponents.DotNetBar.ButtonItem btnShortCuts;