Initial import
This commit is contained in:
parent
0c865416ca
commit
04804b89a9
279 changed files with 12945 additions and 0 deletions
23
SalesCatalog/Model/ProductImage.cs
Normal file
23
SalesCatalog/Model/ProductImage.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
{
|
||||
public class ProductImage: FormElement
|
||||
{
|
||||
#region implemented abstract members of FormElement
|
||||
|
||||
public override string ToHtml ()
|
||||
{
|
||||
return string.Format ("<img src=\"\" alt=\"\"/>", Src, Alt);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public ProductImage ()
|
||||
{
|
||||
}
|
||||
public string Src { get; set; }
|
||||
public string Alt { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue