using System.Reflection; using System.Windows.Forms; using System.IO; namespace Mesnac.Controls.Sulf { public class SulfControl : UserControl { protected Assembly _assembly; protected Stream _imageStream; protected bool bFirstCreated = true; protected bool _bHaveAction; /// /// 是否有动画 /// public bool bHaveAction { get { return _bHaveAction; } set { _bHaveAction = value; } } public SulfControl() { this.DoubleBuffered = true; } protected virtual void Init() { _assembly = Assembly.GetExecutingAssembly(); } } }