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 _clickActionList = new List(); 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(); } } /// /// 料仓号 /// public int SBVNumber { get { return _sbvNumber; } set { _sbvNumber = value; } } #region 事件属性 public List ClickActionList { get { return this._clickActionList; } set { this._clickActionList = value; } } #endregion } }