DT 的数据字典
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
3.7 KiB

1 year ago
using System;
using System.Drawing;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
namespace Component
{
//#region New
//[DefaultProperty("EditPanel"), ToolboxData("<{0}:NewButton runat=\"server\" ID=\"btnNew\" SkinID=\"NewButton\" Text=\"����\"></{0}:NewButton>")]
//public class NewButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// {
// (Page as PageEx).Action = "New";
// (Page as PageEx).SetEditModel();
// }
// base.OnClick(e);
// }
// protected override void OnLoad(EventArgs e)
// {
// if (!Page.IsPostBack && Page is PageEx)
// Enabled = (Page as PageEx).GetPrivlegeBit((int)PrivlegeBit.New);
// base.OnLoad(e);
// }
//}
//#endregion
//#region Delete
//[DefaultProperty("Text"), ToolboxData("<{0}:DeleteButton runat=\"server\" SkinID=\"DeleteButton\"></{0}:DeleteButton>")]
//public class DeleteButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// (Page as PageEx).Action = "Delete";
// base.OnClick(e);
// }
// protected override void OnLoad(EventArgs e)
// {
// if (!Page.IsPostBack && Page is PageEx)
// Enabled = (Page as PageEx).GetPrivlegeBit((int)PrivlegeBit.Delete);
// base.OnLoad(e);
// }
//}
//#endregion
//#region Edit
//[DefaultProperty("Text"), ToolboxData("<{0}:EditButton runat=\"server\" SkinID=\"EditButton\"></{0}:EditButton>")]
//public class EditButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// {
// (Page as PageEx).Action = "Edit";
// (Page as PageEx).SetEditModel();
// }
// base.OnClick(e);
// }
// protected override void OnLoad(EventArgs e)
// {
// if (!Page.IsPostBack && Page is PageEx)
// Enabled = (Page as PageEx).GetPrivlegeBit((int)PrivlegeBit.Edit);
// base.OnLoad(e);
// }
//}
//#endregion
//#region CancelEditButton
//[DefaultProperty("Text"), ToolboxData("<{0}:CancelEditButton ID=\"btnCancel\" runat=\"server\" SkinID=\"CancelEditButton\" Text=\"ȡ��\"></{0}:CancelEditButton>")]
//public class CancelEditButton : System.Web.UI.WebControls.Button
//{
// protected override void OnClick(EventArgs e)
// {
// if (Page is PageEx)
// {
// (Page as PageEx).Action = "None";
// (Page as PageEx).SetFindModel();
// }
// base.OnClick(e);
// }
//}
//#endregion
//#region OkEditButton
//[DefaultProperty("Text"), ToolboxData("<{0}:OkEditButton ID=\"btnOK\" runat=\"server\" SkinID=\"OkEditButton\" Text=\"ȷ��\"></{0}:OkEditButton>")]
//public class OkEditButton : System.Web.UI.WebControls.Button
//{
//}
//#endregion
//#region Find
//[DefaultProperty("Text"), ToolboxData("<{0}:FindButton ID=\"btnFind\" runat=\"server\" SkinID=\"FindButton\" Text=\"����\"></{0}:FindButton>")]
//public class FindButton : System.Web.UI.WebControls.Button
//{
//}
//#endregion
//#region Nav
//[DefaultProperty("Text"), ToolboxData("<{0}:NavLiteral runat=\"server\" ID=\"ltNav\"></{0}:NavLiteral>")]
//public class NavLiteral : System.Web.UI.WebControls.Literal
//{
//}
//#endregion
}