Find Setting Changes

This commit is contained in:
Brett Hewitson 2022-06-18 20:28:00 +10:00
parent 808d7b00a8
commit 738332dca2
2 changed files with 25 additions and 13 deletions

View file

@ -4355,10 +4355,10 @@ namespace ServerManagerTool
}
}
public void SelectControl(Control control)
public bool SelectControl(Control control)
{
if (control is null)
return;
if (control is null || control.Visibility != Visibility.Visible)
return false;
bool focused = false;
Application.Current.Dispatcher.Invoke(() =>
@ -4403,6 +4403,8 @@ namespace ServerManagerTool
_lastFoundControl = control;
});
return true;
}
public void UnselectControl()