..
This commit is contained in:
43
Sub/YARTE/CheckboxItem.cs
Normal file
43
Sub/YARTE/CheckboxItem.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace YARTE
|
||||
{
|
||||
public class CheckboxItem
|
||||
{
|
||||
private string strLabel;
|
||||
private string strIdentifier;
|
||||
private bool blnCheckd = false;
|
||||
|
||||
public CheckboxItem(string label, string identifier)
|
||||
{
|
||||
strLabel = label;
|
||||
strIdentifier = identifier;
|
||||
}
|
||||
|
||||
public CheckboxItem(string label, string identifier, bool checkd) : this(label, identifier)
|
||||
{
|
||||
blnCheckd = checkd;
|
||||
}
|
||||
|
||||
public string Label
|
||||
{
|
||||
get { return strLabel; }
|
||||
set { strLabel = value; }
|
||||
}
|
||||
|
||||
public string Identifier
|
||||
{
|
||||
get { return strIdentifier; }
|
||||
set { strIdentifier = value; }
|
||||
}
|
||||
|
||||
public bool Checked
|
||||
{
|
||||
get { return blnCheckd; }
|
||||
set { blnCheckd = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user