示例#1
0
        protected override object CreateControlsCore() {
            IModelThumbnailWeb modelThumbnailWeb = ((IModelListViewThumbnailWeb)Model).ThumbnailWeb;
            control = new ThumbnailControl {
                ID = "thumbnail_control",
                DisplayStyle = modelThumbnailWeb.DisplayStyle,
                HideImages = modelThumbnailWeb.HideImages

            };
            control.Click += ControlOnClick;
            control.RequestText += ControlOnRequestText;
            return control;
        }
示例#2
0
        protected override object CreateControlsCore()
        {
            IModelThumbnailWeb modelThumbnailWeb = ((IModelListViewThumbnailWeb)Model).ThumbnailWeb;

            control = new ThumbnailControl {
                ID           = "thumbnail_control",
                DisplayStyle = modelThumbnailWeb.DisplayStyle,
                HideImages   = modelThumbnailWeb.HideImages
            };
            control.Click       += ControlOnClick;
            control.RequestText += ControlOnRequestText;
            return(control);
        }