This commit is contained in:
Kathy Ruffing 2009-11-13 14:12:04 +00:00
parent 4308b5b38d
commit 9c2e2abcff

View File

@ -574,7 +574,6 @@ namespace Volian.Controls.Library
_LoadingList = false; _LoadingList = false;
} }
//public void UpdateAnnotationSearchResults() //public void UpdateAnnotationSearchResults()
//{ //{
// //AnnotationTypeInfo ati = cbxAnnoTypes.SelectedValue as AnnotationTypeInfo; // //AnnotationTypeInfo ati = cbxAnnoTypes.SelectedValue as AnnotationTypeInfo;
@ -588,8 +587,6 @@ namespace Volian.Controls.Library
// // btnPrnSrchRslts.Enabled = false; // // btnPrnSrchRslts.Enabled = false;
// //_LoadingList = false; // //_LoadingList = false;
//} //}
private void lbSrchResults_MouseMove(object sender, MouseEventArgs e) private void lbSrchResults_MouseMove(object sender, MouseEventArgs e)
{ {
int ResultsMouseOverIndex = lbSrchResults.IndexFromPoint(e.Location); int ResultsMouseOverIndex = lbSrchResults.IndexFromPoint(e.Location);
@ -606,7 +603,8 @@ namespace Volian.Controls.Library
private void lbSrchResults_SelectedValueChanged(object sender, EventArgs e) private void lbSrchResults_SelectedValueChanged(object sender, EventArgs e)
{ {
if (!_LoadingList) ItemInfoList iil = lbSrchResults.DataSource as ItemInfoList;
if (!_LoadingList && iil != null && !iil.RefreshingList)
{ {
_ItemInfo = lbSrchResults.SelectedValue as ItemInfo; _ItemInfo = lbSrchResults.SelectedValue as ItemInfo;
if ((tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]) && (_ItemInfo != null)) if ((tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]) && (_ItemInfo != null))