using System;
using System.Text;
using System.Collections;
using System.Xml;
using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Resources;
using System.Reflection;
using System.Globalization;
using System.Threading;
using Telerik.WebControls;
using UFSoft.UBF.UI.WebControls;
using UFSoft.UBF.UI.Controls;
using UFSoft.UBF.Util.Log;
using UFSoft.UBF.Util.Globalization;
using UFSoft.UBF.UI.IView;
using UFSoft.UBF.UI.Engine;
using UFSoft.UBF.UI.MD.Runtime;
using UFSoft.UBF.UI.ActionProcess;
using UFSoft.UBF.Business;
using UFSoft.UBF.UI.ControlModel;
using UFSoft.UBF.UI.Engine.Builder;
using UFSoft.UBF.UI;
using System.Collections.Generic;
/***********************************************************************************************
* Form ID:
* UIFactory Auto Generator
***********************************************************************************************/
namespace UFIDA.U9.Cust.WC.CustPOSendMailUI
{
public partial class CustPOSendMailUIFormWebPart
{
#region eventBind
//MethodName:DropDownList_Notices_TextChanged ActionName:
///
/// Help Info : {varEvent.Help}
///
public void DropDownList_Notices_TextChanged(object sender, EventArgs e)
{
OnDataCollect(this); //当前事件先执行数据收集
this.IsDataBinding = true ; //当前事件执行后会进行数据绑定
this.IsConsuming = false;
this.InvokeMethod(sender,e,DropDownList_Notices_TextChanged_Extend) ;
}
//default implement by tpl ...
private void DropDownList_Notices_TextChanged_DefaultImpl(object sender, EventArgs e)
{
//Template (tpl) Code here...
//通用事件模版定义的相应操作内容.
//throw new NotImplementedException() ;
}
//MethodName:OnSend273_Click ActionName:OnSend
///
/// Help Info : {varEvent.Help}
///
public void OnSend273_Click(object sender, EventArgs e)
{
OnDataCollect(this); //当前事件先执行数据收集
this.IsDataBinding = true ; //当前事件执行后会进行数据绑定
this.IsConsuming = false;
this.InvokeMethod(sender,e,OnSend273_Click_Extend) ;
}
//default implement by tpl ...
private void OnSend273_Click_DefaultImpl(object sender, EventArgs e)
{
//Template (tpl) Code here...
//通用事件模版定义的相应操作内容.
Action.OnSend(sender,new UIActionEventArgs());
}
//MethodName:OnClose141_Click ActionName:OnClose
///
/// Help Info : {varEvent.Help}
///
public void OnClose141_Click(object sender, EventArgs e)
{
OnDataCollect(this); //当前事件先执行数据收集
this.IsDataBinding = true ; //当前事件执行后会进行数据绑定
this.IsConsuming = false;
this.InvokeMethod(sender,e,OnClose141_Click_Extend) ;
}
//default implement by tpl ...
private void OnClose141_Click_DefaultImpl(object sender, EventArgs e)
{
//Template (tpl) Code here...
//通用事件模版定义的相应操作内容.
Action.OnClose(sender,new UIActionEventArgs());
}
#region 数据初始化加载和数据收集方法
public void OnLoadData(object sender)
{
try
{
OnLoadData_Extend(sender) ;
}
catch(Exception ex)
{
if (UFSoft.UBF.Exceptions.ExceptionHelper.IsUnknownException(ex, true)) {
throw;
}
IUIModel model = this.Model;
this.Model.ErrorMessage.SetErrorMessage(ref model,ex);
}
}
public void OnLoadData_DefaultImpl(object sender)
{
Action.OnLoadData(sender,new UIActionEventArgs());
}
public override void OnDataCollect(object sender)
{
try
{
adjust.ProcessAdjustBeforeDataCollect(this);
OnDataCollect_Extend(sender);
adjust.ProcessAdjustAfterDataCollect(this);
}
catch(Exception ex)
{
if (UFSoft.UBF.Exceptions.ExceptionHelper.IsUnknownException(ex, true)) {
throw;
}
IUIModel model = this.Model;
this.Model.ErrorMessage.SetErrorMessage(ref model,ex);
}
}
private void OnDataCollect_DefaultImpl(object sender)
{
Action.OnDataCollect(sender,new UIActionEventArgs());
}
#endregion
#region Grid控件DataGrid0的分页事件
void UFGridDataGrid0_GridMakePageEventHandler(Object sender, GridMakePageEventArgs e)
{
//Grid的首页、下页、上页、末页处理逻辑
UFIDA.U9.UI.Commands.CommandFactory.DoCommand("GridMakePage",this.Action,this.DataGrid0,e);
}
#endregion
#region Grid控件DataGrid0的客户化筛选事件
void UFGridDataGrid0_GridCustomFilterHandler(Object sender, GridCustomFilterArgs e)
{
//Grid的客户化筛选,首条、上一条、下一条、末条处理逻辑
UFIDA.U9.UI.Commands.CommandFactory.DoCommand("GridCustomFilter",this.Action,this.DataGrid0,e);
}
#endregion
#endregion
}
}