会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BLUE.NET
-------- 众里寻她千百度
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
设置属性的 页面和接口代码
IDataEditPage edit_page
=
(IDataEditPage)
this
.Page;
edit_page.AddButtonVisible
=
false
;
edit_page.DelButtonVisible
=
false
;
edit_page.OperateControlVisible
=
false
;
edit_page.SaveAndAddButtonVisible
=
false
;
IDataEditPage 成员
#region
IDataEditPage 成员
public
bool
SaveAndAddButtonVisible
{
get
{
return
this
.btnSaveAndAdd.Visible;
}
set
{
this
.btnSaveAndAdd.Visible
=
value;
}
}
public
bool
AddButtonVisible
{
get
{
return
this
.btnAdd.Visible;}
set
{
this
.btnAdd.Visible
=
value;}
}
public
bool
SaveButtonVisible
{
get
{
return
this
.btnSave.Visible;
}
set
{
this
.btnSave.Visible
=
value;
}
}
public
bool
OperateControlVisible
{
get
{
return
this
.tblOperate.Visible;
}
set
{
this
.tblOperate.Visible
=
value;
}
}
public
bool
DelButtonVisible
{
get
{
return
this
.btnDelete.Visible;
}
set
{
this
.btnDelete.Visible
=
value;
}
}
#endregion
public attribute
#region
public attribute
/**/
///
<summary>
///
Is show webcontrol button btnAdd
///
</summary>
public
bool
IsShow_btnAdd
{
get
{
return
btnAdd.Visible;}
set
{btnAdd.Visible
=
value;}
}
/**/
///
<summary>
///
Is show webcontrol button btnAdd
///
</summary>
public
bool
IsShow_btnSave
{
get
{
return
btnSave.Visible;}
set
{btnSave.Visible
=
value;}
}
/**/
///
<summary>
///
Is show webcontrol button btnAdd
///
</summary>
public
bool
IsShow_btnSaveAndAdd
{
get
{
return
btnSaveAndAdd.Visible;}
set
{btnSaveAndAdd.Visible
=
value;}
}
/**/
///
<summary>
///
Is show webcontrol button btnAdd
///
</summary>
public
bool
IsShow_btnDelete
{
get
{
return
btnDelete.Visible;}
set
{btnDelete.Visible
=
value;}
}
#endregion
posted on
2005-05-26 09:30
blue.net
阅读(
175
) 评论(
0
)
收藏
举报
刷新页面
返回顶部