用户控件 System.Windows.Forms.PictureBox 未标记为可序列化
public partial class UCDemo : UserControl
{
/// <summary>
/// 显示图片
/// </summary>
public PictureBox _Pic { get; set; }
/// <summary>
/// 提示信息
/// </summary>
public Label _Lable { get; set; }
//.....
}我写的一个用户控件里包含几个winform控件,当使用这个用户控件时报错:
System.Windows.Forms.PictureBox 未标记为可序列化
...全文
相关推荐
System.Windows.Forms dll
System.Windows.Forms dll
C#利用Picturebox实现缩放功能
C#操作picturebox实现图片的放大和缩小以及显示实时坐标,可以自行在此增加某一点的灰度值显示
System.Windows.Forms.dll组件
C#库文件支持
Bitmap类和PictureBox控件实现显示,保存
Bitmap类和PictureBox控件实现显示,保存源码
System.Drawing.dll;System.Windows.Forms.dll.zip
包含基于.Net3.5 、.Net4.x 的dll;相关应用:https://blog.csdn.net/weixin_39766005/article/details/100524074。


