if (
string.IsNullOrEmpty(driverList.Find(CheckDriver)))
{
sMessageBox.Warm("驾驶员不存在");
return false;
}
bool CheckDriver(
string s)
{
if (s.IndexOf(comCompayDriver.Text.Trim()) > -
1)
{
return true;
}
return false;
}
转载于:https://www.cnblogs.com/goto/archive/2012/04/12/2443361.html