1: public void AfterUIModelBinding()
2: {
3: //如果页面是通过TitleLink进入则显示确定取消按钮
4: if ( NavigateManager.IsTitleLink(this) )
5: {
6: this.BtnOK.Visible = true;
7: this.BtnClose.Visible = true;
8: }
9: else
10: {
11: this.BtnOK.Visible = false;
12: this.BtnClose.Visible = false;
13: }
14: ……
15: }