B2017-038 – Needed to disable the Search button for a Transition Search until a format is selected.
This commit is contained in:
parent
44322ba5bf
commit
23ddfe0cbd
@ -160,12 +160,14 @@ namespace Volian.Controls.Library
|
|||||||
|
|
||||||
void tabSearchTypes_SelectedTabChanged(object sender, TabStripTabChangedEventArgs e)
|
void tabSearchTypes_SelectedTabChanged(object sender, TabStripTabChangedEventArgs e)
|
||||||
{
|
{
|
||||||
|
btnSearch.Enabled = true;
|
||||||
if (e.NewTab == tabROSearch)
|
if (e.NewTab == tabROSearch)
|
||||||
{
|
{
|
||||||
LoadROComboTree();
|
LoadROComboTree();
|
||||||
}
|
}
|
||||||
else if (e.NewTab == tabTranSearch)
|
else if (e.NewTab == tabTranSearch)
|
||||||
{
|
{
|
||||||
|
btnSearch.Enabled = (cbxTranCategory.Items.Count > 0); // B2017-038 disable search button if no format selected
|
||||||
//enable-disable doc version nodes based on version type if selected
|
//enable-disable doc version nodes based on version type if selected
|
||||||
if (cbxTranVersion.SelectedIndex > -1)
|
if (cbxTranVersion.SelectedIndex > -1)
|
||||||
{
|
{
|
||||||
@ -263,6 +265,7 @@ namespace Volian.Controls.Library
|
|||||||
cbxTranCategory.SelectedIndex = 0;
|
cbxTranCategory.SelectedIndex = 0;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
btnSearch.Enabled = true; // B2017-038 enable search button if when a format selected
|
||||||
}
|
}
|
||||||
FormatVersionList myFormatVersionList;
|
FormatVersionList myFormatVersionList;
|
||||||
private void LoadSearchTextListBox()
|
private void LoadSearchTextListBox()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user