You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
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; //是否有动画属性
|
|
/// <summary>
|
|
/// 是否有动画
|
|
/// </summary>
|
|
public bool bHaveAction
|
|
{
|
|
get
|
|
{
|
|
return _bHaveAction;
|
|
}
|
|
set
|
|
{
|
|
_bHaveAction = value;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 默认构造方法
|
|
/// </summary>
|
|
public BaseIntakeControl()
|
|
{
|
|
this.DoubleBuffered = true; //设置双缓存
|
|
}
|
|
|
|
protected virtual void Init()
|
|
{
|
|
_assembly = Assembly.GetExecutingAssembly(); //获取程序集对象
|
|
}
|
|
}
|
|
}
|