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.
69 lines
1.7 KiB
C#
69 lines
1.7 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.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using Mesnac.Controls.Base;
|
|
using Mesnac.Controls.ChemicalWeighing;
|
|
|
|
namespace Mesnac.Controls.ChemicalWeighing
|
|
{
|
|
[ToolboxBitmap(typeof(StorageBinView), "Resources.WARE021.png")]
|
|
public partial class StorageBinView : ChemicalWeighingControl
|
|
{
|
|
string sImages;
|
|
private int _sbvNumber = 0;
|
|
private List<DesignAction> _clickActionList = new List<DesignAction>();
|
|
|
|
public StorageBinView() : base()
|
|
{
|
|
InitializeComponent();
|
|
Init();
|
|
}
|
|
|
|
protected override void Init()
|
|
{
|
|
base.Init();
|
|
_imageStream = null;
|
|
sImages = "Mesnac.Controls.ChemicalWeighing.Resources.WARE021.png";
|
|
_imageStream = _assembly.GetManifestResourceStream(sImages);
|
|
if (_imageStream != null)
|
|
{
|
|
Image img = Image.FromStream(_imageStream);
|
|
pictureBox1.Image = img;
|
|
pictureBox1.Refresh();
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 料仓号
|
|
/// </summary>
|
|
public int SBVNumber
|
|
{
|
|
get { return _sbvNumber; }
|
|
set { _sbvNumber = value; }
|
|
}
|
|
|
|
#region 事件属性
|
|
|
|
public List<DesignAction> ClickActionList
|
|
{
|
|
get
|
|
{
|
|
return this._clickActionList;
|
|
}
|
|
set
|
|
{
|
|
this._clickActionList = value;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|