using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.IO;

namespace Mesnac.Controls.ChemicalWeighing
{
    public class ChemicalWeighingControl : 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;
            }
        }
        public ChemicalWeighingControl()
        {
            this.DoubleBuffered = true;
        }
        protected virtual void Init()
        {
            _assembly = Assembly.GetExecutingAssembly();
        }
    }
}