派纳发送邮件功能
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.
 
 

564 lines
22 KiB

using System;
using System.Text;
using System.Collections;
using System.Xml;
using System.Data;
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.WebControls.InterActionComponenet;
using UFSoft.UBF.Util.Log;
using UFSoft.UBF.Util.Context;
//using MagicAjax.UI.Controls;
using UFSoft.UBF.Report.UI.ReportView.Web;
using UFSoft.UBF.UI.WebControlAdapter;
using UFSoft.UBF.UI.FormProcess;
using UFSoft.UBF.UI.IView;
using UFSoft.UBF.UI.Engine;
using UFSoft.UBF.UI.Engine.Builder;
using UFSoft.UBF.UI.Engine.Authorization;
using UFSoft.UBF.UI.MD.Runtime;
using UFSoft.UBF.UI.ActionProcess;
using UFSoft.UBF.UI.ControlModel;
using UFSoft.UBF.UI.Controls;
using UFSoft.UBF.UI.WebControls.Association;
using UFSoft.UBF.UI.WebControls.ClientCallBack;
using System.Web.UI;
using UFSoft.UBF.UI.UIFormPersonalization;
using System.Collections.Specialized;
/***********************************************************************************************
* Form ID:0a1d23b5-171b-42eb-9296-7df200076bfc
* Form Name:CustPOSendMailUIForm
* UIFactory Auto Generator
***********************************************************************************************/
namespace UFIDA.U9.Cust.WC.CustPOSendMailUI
{
[FormRegister("UFIDA.U9.Cust.WC.CustPOSendMailUI","UFIDA.U9.Cust.WC.CustPOSendMailUI.CustPOSendMailUIFormWebPart", "UFIDA.U9.Cust.WC.CustPOSendMailUI.WebPart", "0a1d23b5-171b-42eb-9296-7df200076bfc","WebPart", "False", 720, 440)]
///insert into aspnet_Parts (SysVersion, Path, ClassName, [Assembly], FormId) values (0, 'UFIDA.U9.Cust.WC.CustPOSendMailUI', 'UFIDA.U9.Cust.WC.CustPOSendMailUI.CustPOSendMailUIFormWebPart', 'UFIDA.U9.Cust.WC.CustPOSendMailUI.WebPart', '0a1d23b5-171b-42eb-9296-7df200076bfc')
///<siteMapNode url="~/erp/simple.aspx?lnk=0a1d23b5-171b-42eb-9296-7df200076bfc" title="CustPOSendMailUIForm"/>
public partial class CustPOSendMailUIFormWebPart : UFSoft.UBF.UI.FormProcess.BaseWebForm
{
#region Page Controller/Code Behind
private static readonly ILogger logger = LoggerManager.GetLogger(typeof(CustPOSendMailUIFormWebPart));
private string assemblyName = System.Reflection.Assembly.GetExecutingAssembly().FullName;
//private string displayNamePostfix = "displayName";
#region 强类型化基类属性.
public new CustPOSendMailUIAction Action
{
get { return (CustPOSendMailUIAction)base.Action; }
set { base.Action = value; }
}
CustPOSendMailUIModel _uimodel=null;
public new CustPOSendMailUIModel Model
{
get
{
if(_uimodel == null){
_uimodel = new CustPOSendMailUIModel();
}
return _uimodel;
}
set { _uimodel = value; }
}
protected override IUIModel UIModel{
get{
return this.Model;
}
set{
this.Model = value as CustPOSendMailUIModel;
}
}
#endregion
public FormAdjust adjust;
#region variable declaration
IUFCard Card0;
IUFCard Card2;
IUFLabel lblPrintTemplates278;
IUFFldReference PrintTemplates278;
IUFLabel lblID194;
IUFFldNumberControl ID194;
IUFLabel lblNoticeTemplate99;
IUFFldDropDownList DropDownList_Notices;
IUFCard Card3;
IUFLabel lblMailTitle86;
IUFFldTextBox MailTitle86;
IUFLabel lblMailText53;
IUFFldTextBox MailText53;
IUFDataGrid DataGrid0;
IUFCard Card1;
IUFButton OnSend273;
IUFButton OnClose141;
UpdatePanel updatePanel;
HiddenField wpFindID;
IUFContainer topLevelPanel;
IUFSeparator SeparatorInFavorites;
IUFButton BtnDefaultValues;
#endregion
#region constructor
public CustPOSendMailUIFormWebPart()
{
FormID = "0a1d23b5-171b-42eb-9296-7df200076bfc";
IsAutoSize = bool.Parse("False");
}
#endregion
//获取档案版型结果:
#region eventBind and databind
private void EventBind()
{
//事件绑定模板
//Button控件事件
this.OnSend273.Click += new EventHandler(OnSend273_Click);
//Button控件事件
this.OnClose141.Click += new EventHandler(OnClose141_Click);
//Grid控件的分页事件
((UFWebDataGridAdapter)this.DataGrid0).GridMakePageEventHandler += new GridMakePageDelegate(UFGridDataGrid0_GridMakePageEventHandler);
//Grid控件的客户化筛选,定位事件
((UFWebDataGridAdapter)this.DataGrid0).GridCustomFilterHandler += new GridCustomFilterDelegate(UFGridDataGrid0_GridCustomFilterHandler);
AfterEventBind();
}
#endregion
#region override method
protected override void OnLoad(EventArgs e)
{
base.OnLoad2(e);
}
protected override void OnLoadDataDo(EventArgs e)
{
adjust.ProcessAdjustBeforeOnLoad(this);
if (UIEngineHelper.IsDataBind(PageStatus, this))
{
if(this.Model==null){
this.Model = new CustPOSendMailUIModel();
}
OnLoadConsumer(new InParameterModel[]{},new InParameterModel[]{});
OnLoadData(this);
this.IsDataBinding = true ; //加载完数据要绑定一次.目前加这.
}
else
{
//去除.已经移入到OnInit()中.
//this.Model = (CustPOSendMailUIModel)this.CurrentState[this.TaskId.ToString()];
}
adjust.ProcessAdjustAfterOnLoadData(this);
AfterOnLoad();
adjust.ProcessAdjustAfterOnLoad(this);
}
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender2(e);
}
protected override void OnPreRenderDo(EventArgs e)
{
adjust.ProcessAdjustBeforeOnPreRender(this);
base.OnPreRender(e);
this.CurrentState[this.TaskId.ToString()] = this.Model;
RegisterClearWebPartPadding();
UFIDA.U9.UI.PDHelper.FormAuthorityHelper.SetWebPartAuthorization(this);
if (IsDataBinding) //2006-9-7 可由开发人员控制
{
BeforeUIModelBinding();
if(!Page.IsPostBack)
{
EnumTypeBinding.BindEnumControls(this);
}
UFIDA.U9.UI.Commands.CommandHelper.BindFlexData(this);
adjust.ProcessAdjustBeforeDataBinding(this);
if (this.IsOnlyDataBinding)
{
this.DataBinding();
}
adjust.ProcessAdjustAfterDataBinding(this);
AfterUIModelBinding();
}
adjust.ProcessAdjustAfterOnPreRender(this);
}
protected override void OnInit(EventArgs e)
{
base.OnInit2(e);
}
protected override void OnInitDo(EventArgs e)
{
this.Page.InitComplete += new EventHandler(Page_InitComplete);
WebPartBuilder.InitWebPart(this);
this.Action = new CustPOSendMailUIAction(this);
adjust = new FormAdjust();
CreateFormChildControls();
}
void Page_InitComplete(object sender, EventArgs e)
{
adjust.ProcessInit(this);
}
#endregion
#endregion
/// <summary>
/// WebPart View
/// </summary>
#region view Create Contorls
private void CreateFormChildControls()
{
IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this,"CustPOSendMailUIForm",true,720,440);
CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 2, 0, 10, 10, 10, 10, 10);
InitViewBindingContainer(this, _panel, null, "", "", null, 1, "");
UIControlBuilder.BuildContainerGridLayout(_panel, 10,new GridColumnDef[]{new GridColumnDef(700,bool.Parse("True")),},new GridRowDef[]{new GridRowDef(385,bool.Parse("True")),new GridRowDef(25,bool.Parse("True")),});
//???还有用么?
topLevelPanel = _panel;
UIControlBuilder.BuildCommonControls(this,ref updatePanel,ref wpFindID);
_BuilderControl_Card0(_panel);
UIControlBuilder.BuilderUFControl(this.Card0, "1");
_BuilderControl_Card1(_panel);
UIControlBuilder.BuilderUFControl(this.Card1, "2");
EventBind();
AfterCreateChildControls();
}
private IUFCard _BuilderControl_Card0(IUFContainer container)
{
IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card0",false,"none", true, true, "1","","cc7e61a0-276c-4caa-80e0-eb2d2c761a22");
CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 700, 385, 0, 0, 1, 1, "100");
CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 1, 3, 0, 5, 0, 0, 0, 0);
InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(700,bool.Parse("True")),},new GridRowDef[]{new GridRowDef(40,bool.Parse("True")),new GridRowDef(90,bool.Parse("True")),new GridRowDef(245,bool.Parse("True")),});
this.Card0 = _UFCard;
///foreach UFCard下的所有控件,增加到此容器
_BuilderControl_Card2(_UFCard);
UIControlBuilder.BuilderUFControl(this.Card2, "1");
_BuilderControl_Card3(_UFCard);
UIControlBuilder.BuilderUFControl(this.Card3, "3");
_BuilderControl_DataGrid0(_UFCard);
UIControlBuilder.BuilderUFControl(this.DataGrid0, "2");
container.Controls.Add(_UFCard);
return _UFCard;
}
private IUFCard _BuilderControl_Card2(IUFContainer container)
{
IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card2",false,"none", true, true, "1","e774dd03-9fcd-45b3-ba5e-6bac4545251f","a59d5c1c-b12b-436a-b941-ef4633cc79d3");
CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 700, 40, 0, 0, 1, 1, "100");
CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 10, 1, 0, 5, 10, 10, 10, 10);
InitViewBindingContainer(this, _UFCard, this.Model.CustPOSendMailView, "CustPOSendMailView", "", null, 1, "");
UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(120,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(150,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(120,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(160,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),},new GridRowDef[]{new GridRowDef(20,bool.Parse("False")),});
this.Card2 = _UFCard;
///foreach UFCard下的所有控件,增加到此容器
this.lblPrintTemplates278 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblPrintTemplates278", "", "True", "True", "Right", 120, 20, 6, 0, 1, 1, "100","e774dd03-9fcd-45b3-ba5e-6bac4545251f","33941152-c704-48ab-8844-4f4e82668354");
UIControlBuilder.BuilderUFControl(this.lblPrintTemplates278, "5");
this.PrintTemplates278 = UIControlBuilder.BuilderRefrenceControl(_UFCard,"PrintTemplates278",true,true, true,170, 20, 8, 0, 2, 1, "100","6",false,false,true,"lblPrintTemplates278","e774dd03-9fcd-45b3-ba5e-6bac4545251f","feae8c35-0325-4fa7-b126-25f054c627a3");
UIControlBuilder.BuilderUIFieldBindingControl(this, this.PrintTemplates278, "False", "PrintTemplates", this.Model.CustPOSendMailView, this.Model.CustPOSendMailView.FieldPrintTemplates, "CustPOSendMailView");
UIControlBuilder.SetReferenceControlRefInfo(this.PrintTemplates278,"1d17c30a-3581-49f1-b0c4-5428b2772690", 580,408, "TemplateName","TemplateID","ID", null,null);
//foreach Reference's input filter parameter
//foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
ScriptBuilder.BuildReferenceControlOuputScript(this.PrintTemplates278,"PrintTemplates278",new ReferenceOutputParam[]{new ReferenceOutputParam("","ID",""),new ReferenceOutputParam("","TemplateName",""),new ReferenceOutputParam("","IsDefault",""),new ReferenceOutputParam("","TemplateID",""),});
UIControlBuilder.BuilderUFControl(this.PrintTemplates278, "6");
this.lblID194 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblID194", "", "False", "True", "Right", 100, 20, 0, 0, 1, 1, "100","11161576-147a-449f-a8be-355e4685ecdb","b2a1ee80-01ad-495b-9b56-ec5dceec6432");
UIControlBuilder.BuilderUFControl(this.lblID194, "1");
this.ID194 = UIControlBuilder.BuilderNumberControl(_UFCard, "ID194", "False", "False", "True", "Left", 7, 60, 0, 100, 20, 0, 0, 1, 1, NumbericType.Numberic, "100",79228162514264337593543950335m, -79228162514264337593543950335m
,TextAlign.Right,0,true,false,true,"lblID194","","11161576-147a-449f-a8be-355e4685ecdb","92df7700-fdc5-4db1-aa32-ce96647ef4ce",null,null,null, null);
UIControlBuilder.BuilderUIFieldBindingControl(this, this.ID194, "False", "ID", this.Model.CustPOSendMailView, this.Model.CustPOSendMailView.FieldID, "CustPOSendMailView");
UIControlBuilder.BuilderUFControl(this.ID194, "2");
this.lblNoticeTemplate99 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblNoticeTemplate99", "", "True", "True", "Right", 120, 20, 0, 0, 1, 1, "100","2ff69ad0-c20c-4885-9ee4-4e974552840e","2ff69ad0-c20c-4885-9ee4-4e974552840e");
UIControlBuilder.BuilderUFControl(this.lblNoticeTemplate99, "7");
this.DropDownList_Notices = UIControlBuilder.BuilderDropDownList(_UFCard, "DropDownList_Notices", "", true, true, true, "Left", 0, 60, 0, 150, 20, 2, 0, 1, 1, "100",true,false,"","","1d73ebd5-dc6a-4d35-872d-79f81e24c4ea");
UIControlBuilder.BuilderUIFieldBindingControl(this, this.DropDownList_Notices, "False", "", null, null, "");
EnumControlsMap.Add(this.DropDownList_Notices, _UFCard);
this.DropDownList_Notices.ContentChanged += new EventHandler(DropDownList_Notices_TextChanged);
this.DropDownList_Notices.AutoPostBack = true;
UIControlBuilder.BuilderUFControl(this.DropDownList_Notices, "8");
this.PrintTemplates278.IsMultiOrg = false ;
this.lblPrintTemplates278.SetMultiOrgInfo(this.PrintTemplates278,false);
container.Controls.Add(_UFCard);
return _UFCard;
}
private IUFCard _BuilderControl_Card3(IUFContainer container)
{
IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card3",false,"none", true, true, "3","5f196656-db98-49e7-bcdc-0bc080c8d73e","35020fca-3d50-4b79-97be-a648560ddaff");
CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 700, 245, 0, 2, 1, 1, "100");
CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 3, 2, 0, 5, 10, 10, 10, 10);
InitViewBindingContainer(this, _UFCard, this.Model.CustPOSendMailView, "CustPOSendMailView", "", null, 1, "");
UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(590,bool.Parse("True")),},new GridRowDef[]{new GridRowDef(20,bool.Parse("False")),new GridRowDef(200,bool.Parse("False")),});
this.Card3 = _UFCard;
///foreach UFCard下的所有控件,增加到此容器
this.lblMailTitle86 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblMailTitle86", "", "True", "True", "Right", 80, 20, 0, 0, 1, 1, "100","5f196656-db98-49e7-bcdc-0bc080c8d73e","7fbea10a-32d2-48ce-8c93-1b5284685ea3");
UIControlBuilder.BuilderUFControl(this.lblMailTitle86, "1");
this.MailTitle86 = UIControlBuilder.BuilderTextBox(_UFCard, "MailTitle86", "False", "True", "True", "False", "Left", 0, 60, 0, 590, 20, 2, 0, 1, 1, "False", "100"
,"",TextBoxMode.SingleLine,TextAlign.Left, true,false,"lblMailTitle86","","1000","5f196656-db98-49e7-bcdc-0bc080c8d73e","062b9b46-e56a-44d6-827e-1c586874f358");
UIControlBuilder.BuilderUIFieldBindingControl(this, this.MailTitle86, "False", "MailTitle", this.Model.CustPOSendMailView, this.Model.CustPOSendMailView.FieldMailTitle, "CustPOSendMailView");
UIControlBuilder.BuilderUFControl(this.MailTitle86, "3");
this.lblMailText53 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblMailText53", "", "True", "True", "Right", 80, 200, 0, 1, 1, 1, "100","f16bc380-10a6-46e8-88c5-d6af09d601e1","83e50dc8-2a37-4624-94de-980ba5a3a9cb");
UIControlBuilder.BuilderUFControl(this.lblMailText53, "2");
this.MailText53 = UIControlBuilder.BuilderTextBox(_UFCard, "MailText53", "False", "True", "True", "True", "Left", 0, 60, 0, 590, 200, 2, 1, 1, 1, "False", "100"
,"",TextBoxMode.MultiLine,TextAlign.Left, true,false,"lblMailText53","","6000","f16bc380-10a6-46e8-88c5-d6af09d601e1","29e544ae-806d-4f88-891d-1bf248b42186");
UIControlBuilder.BuilderUIFieldBindingControl(this, this.MailText53, "False", "MailText", this.Model.CustPOSendMailView, this.Model.CustPOSendMailView.FieldMailText, "CustPOSendMailView");
UIControlBuilder.BuilderUFControl(this.MailText53, "4");
container.Controls.Add(_UFCard);
return _UFCard;
}
private void _BuilderControl_DataGrid0(IUFContainer container)
{
IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid0", UFSoft.UBF.UI.ControlModel.EditStatus.Edit, false, false,false,false,true,true,20,true, false) ;
UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "2");
CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 700, 90, 0, 1, 1, 1, "100");
InitViewBindingContainer(this, _UFGrid, this.Model.CustPOSendMailPerson, "CustPOSendMailPerson", "", null, 20, "");
((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy=UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
_UFGrid.AllowSelectAllPage=false;
((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData=false;
((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData=false;
this.DataGrid0 = _UFGrid;
container.Controls.Add(_UFGrid);
IUFDataGridColumn column ;
GridColumn gridColumn ;
column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ID254","NumberColumnModel", "", 0,this.Model.CustPOSendMailPerson.Fields["ID"]/*ID*/,"ID", true, false, true, false, false, false, 7, 100, "",true, false,"","643cee82-a076-4967-b713-5da8b2cfed9d","643cee82-a076-4967-b713-5da8b2cfed9d","78db1e02-9309-4a82-b537-4afb2660f52a");
GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
,true,"",false,"1","1");
column = GridControlBuilder.GridColumnBuilder(_UFGrid,"RcvPerson2","TextBoxColumnModel", "", 0,this.Model.CustPOSendMailPerson.Fields["RcvPerson"]/*RcvPerson*/,"RcvPerson", false, true, true, false, false, true, 0, 200, "50",true, false,"","c169e85f-31a6-45bc-a7ad-a9a9d17fccb1","c169e85f-31a6-45bc-a7ad-a9a9d17fccb1","6e72562f-4efe-41f3-b610-fd96c5be4e64");
GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;
column = GridControlBuilder.GridColumnBuilder(_UFGrid,"MailAddress0","TextBoxColumnModel", "", 0,this.Model.CustPOSendMailPerson.Fields["MailAddress"]/*MailAddress*/,"MailAddress", false, true, true, false, false, true, 0, 200, "50",true, false,"","aaf3b6ac-79c7-4090-8385-bf12a6bc817a","aaf3b6ac-79c7-4090-8385-bf12a6bc817a","3193ab46-a33c-4249-9d41-c2fc00d8c1af");
GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;
column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Telephone0","TextBoxColumnModel", "", 0,this.Model.CustPOSendMailPerson.Fields["Telephone"]/*Telephone*/,"Telephone", false, true, true, false, false, true, 0, 200, "50",true, false,"","1348c789-74af-450b-b0b3-d74fdafe0518","1348c789-74af-450b-b0b3-d74fdafe0518","d1f58251-81f1-4f13-a765-7c2352909dfa");
GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;
}
private IUFCard _BuilderControl_Card1(IUFContainer container)
{
IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card1",false,"FunctionBar", true, true, "2","","d05c4740-c05f-4f1d-ba89-caed96ee522a");
CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 700, 25, 0, 1, 1, 1, "100");
CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 12, 1, 0, 0, 0, 0, 10, 0);
InitViewBindingContainer(this, _UFCard, null, "", "", null, 1, "");
UIControlBuilder.BuildContainerGridLayout(_UFCard, 0,new GridColumnDef[]{new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(60,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(30,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(90,bool.Parse("True")),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),});
this.Card1 = _UFCard;
///foreach UFCard下的所有控件,增加到此容器
this.OnSend273 = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnSend273", true, true, 80, 20, 8, 0, 1, 1, "100","", this.Model.ElementID,"OnSend",false,"1e38441b-64eb-47a3-9461-3d5d2938d0ca","1e38441b-64eb-47a3-9461-3d5d2938d0ca","f426581f-d380-4313-b1ad-6dc8933423ff");
UIControlBuilder.BuilderUFControl(this.OnSend273, "1");
this.OnClose141 = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnClose141", true, true, 80, 20, 10, 0, 1, 1, "100","", this.Model.ElementID,"OnClose",false,"1c3d2a36-dbc3-4315-8675-e1035e95d870","1c3d2a36-dbc3-4315-8675-e1035e95d870","ecaabbaf-1e1b-43fc-9455-8470239054ec");
UIControlBuilder.BuilderUFControl(this.OnClose141, "2");
container.Controls.Add(_UFCard);
return _UFCard;
}
#endregion
}
}