init lserp cs 5.0

This commit is contained in:
cyf
2026-07-10 15:25:05 +08:00
commit 90f3fda86a
3799 changed files with 976868 additions and 0 deletions
@@ -0,0 +1,37 @@
using System;
using System.Text;
namespace Zhaizj.Framework.SOA.Controls {
internal class StringCheckbox : ParamControl, IListControl {
public override String Html {
get {
StringBuilder builder = new StringBuilder();
builder.Append( "<span class=\"paramLabel\">" );
builder.Append( base.Label );
builder.Append( "</span> <span class=\"paramControl\">" );
foreach (String str in this.Options) {
builder.AppendFormat( "<input name=\"{0}\" value=\"{1}\" type=\"checkbox\" class=\"StringCheckbox\"", base.Name, str );
if (str.Equals( base.Value )) {
builder.AppendFormat( "checked=\"checked\" />{0} ", str );
}
else {
builder.AppendFormat( "/>{0} ", str );
}
}
builder.Append( "</span>" );
return builder.ToString();
}
}
public String[] Options { get; set; }
public override Type Type {
get { return typeof( String ); }
}
}
}