Initial import
This commit is contained in:
parent
0c865416ca
commit
04804b89a9
279 changed files with 12945 additions and 0 deletions
19
SalesCatalog/Model/Option.cs
Normal file
19
SalesCatalog/Model/Option.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
{
|
||||
public class Option : FormElement
|
||||
{
|
||||
public Option ()
|
||||
{
|
||||
}
|
||||
public string Value { get; set; }
|
||||
public string Text { get; set; }
|
||||
|
||||
public override string ToHtml ()
|
||||
{
|
||||
return string.Format ("<option value=\"{0}\">{1}</option>\n",Value,Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue