initial commit
This commit is contained in:
34
cVMS.NET_CS/HMI/MainDisplay/CButton.cs
Normal file
34
cVMS.NET_CS/HMI/MainDisplay/CButton.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
|
||||
namespace vmsnet.HMI
|
||||
{
|
||||
public partial class CButton
|
||||
{
|
||||
|
||||
public RectangleF Rect { get; set; }
|
||||
public Object Tag { get; set; }
|
||||
public EBUTTONTYPE ButtonType { get; set; }
|
||||
public CButton()
|
||||
{
|
||||
Rect = new RectangleF(0, 0, 0, 0);
|
||||
Tag = null;
|
||||
ButtonType = EBUTTONTYPE.CELL;
|
||||
}
|
||||
|
||||
public CButton(RectangleF _rect, Object _obj, EBUTTONTYPE _btype)
|
||||
{
|
||||
Rect = _rect;
|
||||
Tag = _obj;
|
||||
ButtonType = _btype;
|
||||
}
|
||||
|
||||
~CButton()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user