Backup1/MyPaper.cs
(开头部分) 20KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Resources;
using System.Collections;
using System.Collections.Specialized;
using System.Text;
using System.Text.RegularExpressions;
using System.Drawing;
using System.Runtime.CompilerServices;
using MyPaperControls.Designer;
[assembly:TagPrefix("MyPaperControls", "MP")]
namespace MyPaperControls
{
//=======================================
//MyPaper分页控件源代码:
//版权所有:唐运乐【kingeric】【QQ:330611174】【http://kingeric.cnblogs.com/】;
//此源代码仅供学习参考,不得用作任何商业用途;
//若需修改并重新编译该控件,请保留完整的源代码的版权信息!
//有关控件升级及新控件发布信息,请留意 http://kingeric.cnblogs.com/ 。
/// Download from www.51aspx.com(51aspx.com)
[
ToolboxData("<{0}:MyPaper runat=server></{0}:MyPaper>"),
ValidationPropertyAttribute("Text"),
Designer(typeof(MyPaperControls.Designer.MyPaperDesigner)),
DescriptionAttribute("一个基于 MSHTML 的 ASP.NET 可视化分页控件")
]
[ParseChildren(true)]
[PersistChildren(false)]
public class MyPaper : WebControl, INamingContainer,IPostBackDataHandler
{
string Pager_LinkButton_Left = "";
string Pager_LinkButton_Right = "";
string RPageNo ="";
#region============设置连接数字==========================
private string linknumberwidth = "10px";
private string linknumbercssclass = "";
private Color currentnumberbgcolor = Color.Red;
private int leftpagesize = 5;
private int rightpagesize = 5;
[Category("控件连接数字"),DefaultValue("10px"),DescriptionAttribute("获取或设置连接数字区域宽度"),NotifyParentProperty(true)]
public string LinkNumberWidth
{
get{return linknumberwidth;}
set{linknumberwidth = value;}
}
[Category("控件连接数字"),DefaultValue("20px"),DescriptionAttribute("获取或设置连接数字css样式"),NotifyParentProperty(true)]
public string LinkNumberCssClass
{
get{return linknumbercssclass;}
后面还有 629 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。