예제 #1
0
 public string MakeButton(ButtonTypesEnum buttonType, string url, string buttonText, int?width, int?height, string title = null, string buttonID = null, bool resizable = true, bool max = false, string currentdivid = "", string buttonClass = null, string style = null, RedirectTypesEnum rtype = RedirectTypesEnum.Layer)
 {
     return("");
 }
예제 #2
0
        public static ColumnFormatInfo MakeButton(ButtonTypesEnum buttonType, string url, string buttonText, int?width, int?height, string title = null, string buttonID = null, bool resizable = true, bool maxed = false, string buttonclass = null, string style = null, RedirectTypesEnum rtype = RedirectTypesEnum.Layer)
        {
            ColumnFormatInfo rv = new ColumnFormatInfo();

            rv.FormatType  = ColumnFormatTypeEnum.Button;
            rv.ButtonType  = buttonType;
            rv.Url         = url;
            rv.Width       = width;
            rv.Height      = height;
            rv.Text        = buttonText;
            rv.Title       = title;
            rv.ButtonID    = buttonID;
            rv.Resizable   = resizable;
            rv.Maxed       = maxed;
            rv.ButtonClass = buttonclass;
            rv.RType       = rtype;
            rv.Style       = style;
            return(rv);
        }