使用系统API函数,需要使用命名空间:System.Runtime.InteropServices;
1.if (textBoxPath.Text == String.Empty )
2.if (textBoxPath.Text == "" )
3.if (String.IsNullOrEmpty(textBoxPath.Text))
使用系统API函数,需要使用命名空间:System.Runtime.InteropServices;
1.if (textBoxPath.Text == String.Empty )
2.if (textBoxPath.Text == "" )
3.if (String.IsNullOrEmpty(textBoxPath.Text))
转载于:https://www.cnblogs.com/hhhhan1025/p/10679162.html