예제 #1
0
 public static WebButton IvsButton(this HtmlHelper helper, string name, CommonData.ButtonCategory category, CommonData.ButtonWebType type)
 {
     return(new WebButton(helper, name, category, type));
 }
예제 #2
0
 public WebBaseButton SetType(CommonData.ButtonWebType type)
 {
     this.ButtonType = type;
     return(this);
 }
예제 #3
0
 public static WebButton IvsButton(this HtmlHelper helper, string name, string caption, CommonData.ButtonCategory category, CommonData.ButtonWebType type, object htmlAttribtes)
 {
     return(new WebButton(helper, name, caption, category, type, htmlAttribtes));
 }
예제 #4
0
 public WebButton(string name, CommonData.ButtonCategory category, CommonData.ButtonWebType type)
     : this(name, CommonData.StringEmpty, category, type)
 {
 }
예제 #5
0
 public WebButton(HtmlHelper helper, string name, string caption, CommonData.ButtonCategory category, CommonData.ButtonWebType type, object htmlAttributes)
 {
     base.Helper         = helper;
     base.Name           = this._frefixButton + name;
     base.ButtonCategory = category;
     base.Caption        = caption;
     base.ButtonType     = type;
     base.IconName       = this.GetDefaultIcon(category);
     base.HtmlAttributes = htmlAttributes;
 }
예제 #6
0
 public WebButton(HtmlHelper helper, string name, string caption, CommonData.ButtonCategory category, CommonData.ButtonWebType type)
 {
     base.Helper         = helper;
     base.Name           = name.Contains("btn") ? name : this._frefixButton + name;
     base.ButtonCategory = category;
     base.Caption        = caption;
     base.ButtonType     = type;
     base.IconName       = this.GetDefaultIcon(category);
 }
예제 #7
0
 public WebButton(HtmlHelper helper, string name, CommonData.ButtonCategory category, CommonData.ButtonWebType type)
     : this(helper, name, CommonData.StringEmpty, category, type)
 {
 }
예제 #8
0
 public WebButton(CommonData.ButtonCategory category, CommonData.ButtonWebType type)
     : this(category.ToString(), CommonData.StringEmpty, category, type)
 {
 }