c#包含函数如何写如txt文本中如果包含“错误”则执行。。。if(txtprint中包含"错误"){...}这包含的代码如何写呢?[解决办法]
if(txtprint.Text.IndexOf("错误") != -1){ //code}