Added code to refresh transition search elements before doing long running query. Fixed incorrect search results when transition search tab selected with an open procedure
Changed drop down elements from Windows Forms ComboBox to DevComponents ComboBox.
This commit is contained in:
@@ -169,6 +169,7 @@ namespace Volian.Controls.Library
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
if (myFormatVersionList == null)
|
||||
{
|
||||
this.Refresh();
|
||||
myFormatVersionList = FormatVersionList.GetFormatVersions();
|
||||
cbxTranVersion.DisplayMember = "Title";
|
||||
int lastLastFormatID = 0;
|
||||
@@ -309,7 +310,21 @@ namespace Volian.Controls.Library
|
||||
uncheckNodes[0].Enabled = false;
|
||||
uncheckNodes.Remove(uncheckNodes[0]);
|
||||
}
|
||||
lstCheckedDocVersions.Clear();
|
||||
if (lstCheckedDocVersions.Count > 0)
|
||||
{
|
||||
if (MessageBox.Show(this, "Do you want to expand to all relevant procedure sets for the selected format?", "Expand Procedure Sets", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
lstCheckedDocVersions.Clear();
|
||||
foreach (DevComponents.AdvTree.Node n in dicSelectedDocVersionNodes.Keys)
|
||||
uncheckNodes.Add(n);
|
||||
while (uncheckNodes.Count > 0)
|
||||
{
|
||||
uncheckNodes[0].Checked = false;
|
||||
uncheckNodes.Remove(uncheckNodes[0]);
|
||||
}
|
||||
dicSelectedDocVersionNodes.Clear();
|
||||
}
|
||||
}
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user