mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-03 07:39:28 +03:00
35 lines
589 B
C#
35 lines
589 B
C#
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace DarkUI.Controls
|
|
{
|
|
public class DarkDropdownItem
|
|
{
|
|
#region Property Region
|
|
|
|
public string Text { get; set; }
|
|
|
|
public Bitmap Icon { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Constructor Region
|
|
|
|
public DarkDropdownItem()
|
|
{ }
|
|
|
|
public DarkDropdownItem(string text)
|
|
{
|
|
Text = text;
|
|
}
|
|
|
|
public DarkDropdownItem(string text, Bitmap icon)
|
|
: this(text)
|
|
{
|
|
Icon = icon;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|