using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using System.Reflection; using System.IO; namespace Mesnac.Controls.Intake.Base { public partial class BaseIntakeControl : UserControl { protected Assembly _assembly; //程序集对象 protected Stream _imageStream; //图片资源流 protected bool bFirstCreated = true; //是否首次创建 protected bool _bHaveAction; //是否有动画属性 /// /// 是否有动画 /// public bool bHaveAction { get { return _bHaveAction; } set { _bHaveAction = value; } } /// /// 默认构造方法 /// public BaseIntakeControl() { this.DoubleBuffered = true; //设置双缓存 } protected virtual void Init() { _assembly = Assembly.GetExecutingAssembly(); //获取程序集对象 } } }