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.
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|