BelhardTraining.LessonIO.WindowsSearchDemo.MainForm.ValidatePath C# (CSharp) Method

ValidatePath() public method

public ValidatePath ( ) : void
return void
        void ValidatePath()
        {
            string searchPath = GetSearchPath();
            btnSearch.Enabled = !string.IsNullOrEmpty(searchPath) && Directory.Exists(searchPath);
        }