Files
ENIG/Cs_HMI/SubProject/AGVMapControl/Models/ToolBarItem.cs
chi 34130e9c86 add mapcontrol
add remote path(gitlab)
2025-05-22 16:21:56 +09:00

34 lines
716 B
C#

using System.Drawing;
using System.Collections.Generic;
using System.Linq;
namespace AGVMapControl.Models
{
public class ToolBarItem
{
private bool _ishovering = false;
public int Idx { get; set; }
public Rectangle Bounds { get; set; }
public bool isHovering
{
get { return _ishovering; }
set
{
Dirty = _ishovering != value;
_ishovering = value;
}
}
public string Title { get; set; }
public bool Dirty { get; private set; }
public ToolBarItem()
{
Bounds = Rectangle.Empty;
}
}
}