123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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 WisdomClient.data;
- namespace IntelligentControlForsx.MyControls
- {
- public partial class HandCart_f : UserControl, IPointData
- {
- private string tagId;
- private TsData tagData;
- public HandCart_f()
- {
- InitializeComponent();
- }
- [Browsable(true), Category("Point")]
- public TsData TagData
- {
- get
- {
- return tagData;
- }
- set
- {
- tagData = value;
- if (tagData != null && tagData.booleanValue.HasValue)
- {
- this.BackgroundImage = tagData.booleanValue.Value
- ? global::IntelligentControlForsx.Properties.Resources.handcart0
- : global::IntelligentControlForsx.Properties.Resources.handcart1;
- }
- }
- }
- [Browsable(true), Category("Point")]
- public string TagId
- {
- get
- {
- return tagId;
- }
- set
- {
- tagId = value;
- }
- }
- private void HandCart_Load(object sender, EventArgs e)
- {
- }
- }
- }
|