35 lines
698 B
C#
35 lines
698 B
C#
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()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|