winform为本地化资源添加tag属性
示例:
/// <summary> /// 查找 System.Drawing.Bitmap 类型的本地化资源。 /// </summary> internal static System.Drawing.Bitmap HorizontalOn { get { object obj = ResourceManager.GetObject("HorizontalOn", resourceCulture); System.Drawing.Bitmap bitmap = (System.Drawing.Bitmap)obj; bitmap.Tag = "lblHorOn"; return (bitmap); } }