32 lines
694 B
C#
32 lines
694 B
C#
using System;
|
|
using System.Drawing;
|
|
|
|
namespace MLV;
|
|
|
|
public class ManagedListViewShowThumbnailTooltipArgs : EventArgs
|
|
{
|
|
public int ItemsIndex { get; private set; }
|
|
|
|
public Rectangle TextThumbnailRectangle { get; private set; }
|
|
|
|
public string TextToShow { get; set; }
|
|
|
|
public int Rating { get; set; }
|
|
|
|
public ManagedListViewShowThumbnailTooltipArgs(int index, string text, Rectangle rect)
|
|
{
|
|
ItemsIndex = index;
|
|
TextToShow = text;
|
|
TextThumbnailRectangle = rect;
|
|
Rating = -1;
|
|
}
|
|
|
|
public ManagedListViewShowThumbnailTooltipArgs(int index, string text, int rating, Rectangle rect)
|
|
{
|
|
ItemsIndex = index;
|
|
TextToShow = text;
|
|
TextThumbnailRectangle = rect;
|
|
Rating = rating;
|
|
}
|
|
}
|