Eliminate Pseudo Cursor when displayHistory is entered

This commit is contained in:
Rich 2012-04-05 20:56:01 +00:00
parent 1fee99e7ee
commit ee66befc6a

View File

@ -424,11 +424,14 @@ namespace VEPROMS
this.Deactivate += new EventHandler(frmVEPROMS_Deactivate); this.Deactivate += new EventHandler(frmVEPROMS_Deactivate);
if (VlnSettings.DemoMode) StepRTB.MyFontFamily = GetFamily("Bookman Old Style"); if (VlnSettings.DemoMode) StepRTB.MyFontFamily = GetFamily("Bookman Old Style");
displaySearch1.Enter += new EventHandler(displaySearch1_Enter); displaySearch1.Enter += new EventHandler(displaySearch1_Enter);
displayHistory.Enter += new EventHandler(displayHistory_Enter);
ctrlAnnotationDetails.Enter += new EventHandler(ctrlAnnotationDetails_Enter); ctrlAnnotationDetails.Enter += new EventHandler(ctrlAnnotationDetails_Enter);
RunAutomatic(); RunAutomatic();
} }
void displayHistory_Enter(object sender, EventArgs e)
{
tc.HideCaret();
}
void AnnotationTypeInfoList_ListChanged() void AnnotationTypeInfoList_ListChanged()
{ {
displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc); displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc);