判断控件的tag是否为空的方法

由于tag属性是object类型,所以不能按string来判断

control.Tag!=null

原文地址:https://www.cnblogs.com/swtool/p/3840170.html