using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CleanMachineHMI
{
///
/// 事件数据
///
public class LEventArgs:EventArgs
{
///
/// 事件数据
///
/// 值
public LEventArgs(object value)
{
Value = value;
}
///
/// 值
///
public object Value { get; set; }
}
///
/// 滚动条事件数据
///
public class LScrollEventArgs : EventArgs
{
///
/// 滚动条事件数据
///
/// 滑块距顶部(垂直)/左侧(横向)位置
/// 显示位置(正数)
public LScrollEventArgs(float sliderPosition, float showPosition)
{
SliderPosition = sliderPosition;
ShowPosition = showPosition;
}
///
/// 滑块距顶部(垂直)/左侧(横向)位置
///
public float SliderPosition { get; set; }
///
/// 显示位置(正数)
///
public float ShowPosition { get; set; }
}
}