<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CPList.aspx.cs" Inherits="WorkFlow.CPManager.CPList" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>产品</title>
    <link href="../FlowPage/css/main.css" rel="stylesheet" type="text/css" />
    <link href="../FlowPage/css/ext-all.css" rel="stylesheet" type="text/css" />

    <script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    <script type="text/javascript">
        var saveData = function () {
            GridData.setValue(Ext.encode(GridPanel2.getRowsValues({selectedOnly : false})));
        };
         var renderTopic = function (value,p,record) {
           return String.format(  '<b><a href="LookCP.aspx?id={1}" target="_blank" title="查看详细信息">{0}</a>', value,record.id);
        }; 
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" DirectMethodNamespace="DirectMethod">
    </ext:ResourceManager>
    <ext:Viewport ID="Viewport1" runat="server" Layout="border" AutoScroll="true">
        <Items>
            <ext:Panel ID="Panel5" runat="server" Region="North" Split="false" Height="85">
                <Content>
                    <ext:Hidden ID="GridData" runat="server" />
                    <ext:Hidden ID="hifCPFL" runat="server" />
                    <table width="100%" style="background-color: #565656">
                        <tr>
                            <td align="center">
                                <div style="background-image: url('../FlowPage/icon/1new.png'); width: 880px; height: 10px">
                                </div>
                                <div style="background-image: url('../FlowPage/icon/2.png'); width: 880px; text-align: center">
                                    <table width="100%">
                                        <tr>
                                            <td align="center">
                                                <table>
                                                    <tr>
                                                        <td style="padding-top: 2px; padding-bottom: 2px">
                                                            查询：
                                                            <ext:Hidden ID="hidInfo" runat="server">
                                                            </ext:Hidden>
                                                        </td>
                                                        <td style="padding-top: 2px; padding-bottom: 2px">
                                                            <ext:ComboBox ID="ComboBox1" runat="server" SelectedIndex="0" Width="90" Editable="false">
                                                                <Items>
                                                                    <ext:ListItem Text="产品名称" Value="产品名称" />
                                                                    <ext:ListItem Text="产品编码" Value="产品编码" />
                                                                    <ext:ListItem Text="产品类别" Value="产品类别" />
                                                                    <ext:ListItem Text="型号" Value="型号" />
                                                                    <ext:ListItem Text="供应商名称" Value="供应商名称" />
                                                                    <ext:ListItem Text="单价" Value="单价" />
                                                                    <ext:ListItem Text="安全库存数" Value="安全库存数" />
                                                                </Items>
                                                                <DirectEvents>
                                                                    <Select OnEvent="Search_Change">
                                                                        <EventMask ShowMask="true" Msg="正在操作中，请稍后..." />
                                                                    </Select>
                                                                </DirectEvents>
                                                            </ext:ComboBox>
                                                        </td>
                                                        <td style="padding-top: 2px; padding-bottom: 2px; padding-left: 10px">
                                                            <ext:TextField ID="txtCPMC" runat="server" EmptyText="可根据产品名称来模糊查询" Width="200">
                                                            </ext:TextField>
                                                            <ext:TextField ID="txtCPBM" runat="server" EmptyText="可根据产品编码来模糊查询" Width="200" Hidden="true">
                                                            </ext:TextField>
                                                            <ext:ComboBox ID="CPLB" runat="server" Width="215" DisplayField="Name" ValueField="Id"
                                                                Hidden="true" TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All"
                                                                ItemSelector="div.list-item" SelectOnFocus="true">
                                                                <Store>
                                                                    <ext:Store ID="SCPLB" runat="server">
                                                                        <Reader>
                                                                            <ext:JsonReader IDProperty="Id">
                                                                                <Fields>
                                                                                    <ext:RecordField Name="Name" />
                                                                                    <ext:RecordField Name="Id" />
                                                                                </Fields>
                                                                            </ext:JsonReader>
                                                                        </Reader>
                                                                    </ext:Store>
                                                                </Store>
                                                                <Template ID="Template15" runat="server">
                                                                    <Html>
                                                                    <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{Name}</h3>							
						                                    </div>
					                                    </tpl>
                                                                    </Html>
                                                                </Template>
                                                            </ext:ComboBox>
                                                            <ext:TextField ID="txtXH" runat="server" EmptyText="可根据型号来模糊查询" Width="200" Hidden="true">
                                                            </ext:TextField>
                                                            <ext:TextField ID="txtDJ" runat="server" EmptyText="可根据单价来模糊查询" Width="200" Hidden="true">
                                                            </ext:TextField>
                                                            <ext:TextField ID="txtAQKCS" runat="server" EmptyText="可根据安全库存数来模糊查询" Width="200"
                                                                Hidden="true">
                                                            </ext:TextField>
                                                            <ext:ComboBox ID="GYSMC" runat="server" Width="215" DisplayField="KHMC" ValueField="Id"
                                                                Hidden="true" TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All"
                                                                ItemSelector="tr.list-item" MinChars="1" ListWidth="300" PageSize="10" SelectOnFocus="true">
                                                                <Store>
                                                                    <ext:Store ID="SGYSMC" runat="server">
                                                                        <Reader>
                                                                            <ext:JsonReader IDProperty="Id">
                                                                                <Fields>
                                                                                    <ext:RecordField Name="CS" />
                                                                                    <ext:RecordField Name="Name" />
                                                                                    <ext:RecordField Name="HY" />
                                                                                    <ext:RecordField Name="Id" />
                                                                                </Fields>
                                                                            </ext:JsonReader>
                                                                        </Reader>
                                                                        <AutoLoadParams>
                                                                            <ext:Parameter Name="start" Value="0" Mode="Raw" />
                                                                            <ext:Parameter Name="limit" Value="10" Mode="Raw" />
                                                                        </AutoLoadParams>
                                                                    </ext:Store>
                                                                </Store>
                                                                <Template ID="Template18" runat="server">
                                                                    <Html>
                                                                    <tpl for=".">
                            <tpl if="[xindex] == 1">
                                <table class="cbStates-list">
                                    <tr>
                                        <th>供应商</th>
                                        <th>城市</th>
                                          <th>行业</th>
                                    </tr>
                            </tpl>
                            <tr class="list-item">
                                <td style="padding:3px 0px;">{Name}</td>
                                <td>{CS}</td>  <td>{HY}</td>
                            </tr>
                       <tpl if="[xcount-xindex]==0">
                                                </table>
                                                </tpl> </tpl> </Html> </Template>
                                                <triggers>
                                                <ext:FieldTrigger Icon="Clear" HideTrigger="true" />
                                           </triggers>
                                                <listeners>    
                           
                                                <BeforeQuery Handler="this.triggers[0][ this.getRawValue().toString().length == 0 ? 'hide' : 'show']();" />
                                                <TriggerClick Handler="if (index == 0) { this.focus().clearValue(); trigger.hide();}" />
                                                <Select Handler="this.triggers[0].show();" />
                                                     </listeners>
                                                </ext:ComboBox>
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:Button ID="Button3" runat="server" Text="立即查找" Icon="Zoom" ToolTip="立即查找">
                                                    <DirectEvents>
                                                        <Click OnEvent="SearchInfo_Click">
                                                            <EventMask ShowMask="true" Msg="正在查询中，请稍后..." />
                                                        </Click>
                                                    </DirectEvents>
                                                </ext:Button>
                                            </td>
                                        </tr>
                                    </table>
                                    <table width="756px">
                                        <tr>
                                            <td>
                                                <ext:Button ID="Button6" runat="server" Text="A">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('A')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button7" runat="server" Text="B">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('B')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button8" runat="server" Text="C">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('C')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button9" runat="server" Text="D">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('D')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button10" runat="server" Text="E">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('E')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button11" runat="server" Text="F">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('F')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button12" runat="server" Text="G">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('G')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button13" runat="server" Text="H">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('H')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button14" runat="server" Text="I">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('I')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button15" runat="server" Text="J">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('J')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button16" runat="server" Text="K">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('K')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button17" runat="server" Text="L">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('L')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button18" runat="server" Text="M">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('M')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button19" runat="server" Text="N">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('N')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button20" runat="server" Text="O">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('O')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button21" runat="server" Text="P">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('P')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button22" runat="server" Text="Q">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('Q')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button23" runat="server" Text="R">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('R')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button24" runat="server" Text="S">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('S')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button25" runat="server" Text="T">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('T')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button26" runat="server" Text="U">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('U')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button27" runat="server" Text="V">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('V')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button28" runat="server" Text="W">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('W')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button29" runat="server" Text="X">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('X')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button30" runat="server" Text="Y">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('Y')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                            <td>
                                                <ext:Button ID="Button31" runat="server" Text="Z">
                                                    <Listeners>
                                                        <Click Handler="DirectMethod.CXMethod('Z')" />
                                                    </Listeners>
                                                </ext:Button>
                                            </td>
                                        </tr>
                                    </table>
                            </td>
                        </tr>
                    </table>
                    </div>
                    <div style="background-image: url('../FlowPage/icon/1.png'); width: 880px; height: 10px">
                    </div>
                    </td> </tr> </table>
                </Content>
            </ext:Panel>
            <ext:Panel ID="Panel6" runat="server" Collapsible="true" Layout="FitLayout" Region="West"
                Split="true" Title="产品分类" Width="185">
                <TopBar>
                    <ext:Toolbar runat="server">
                        <Items>
                            <ext:TextField ID="txtCpFLSearch" runat="server" EnableKeyEvents="true" EmptyText="输入产品分类模糊查询"
                                Width="180">
                                <Listeners>
                                    <KeyUp Handler="DirectMethod.XMSearch()" />
                                </Listeners>
                            </ext:TextField>
                        </Items>
                    </ext:Toolbar>
                </TopBar>
                <Items>
                    <ext:GridPanel ID="GridPanel1" runat="server" Frame="true" StripeRows="true" AnimCollapse="false"
                        Icon="Table" TrackMouseOver="true">
                        <Store>
                            <ext:Store ID="Store1" runat="server">
                                <Reader>
                                    <ext:JsonReader IDProperty="Id">
                                        <Fields>
                                            <ext:RecordField Name="Id" />
                                            <ext:RecordField Name="Name" />
                                        </Fields>
                                    </ext:JsonReader>
                                </Reader>
                            </ext:Store>
                        </Store>
                        <ColumnModel ID="ColumnModel2" runat="server">
                            <Columns>
                                <ext:Column Header="名称" DataIndex="Name" Width="163" />
                            </Columns>
                        </ColumnModel>
                        <LoadMask ShowMask="true" />
                        <SelectionModel>
                            <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true">
                                <DirectEvents>
                                    <RowSelect OnEvent="RowSelect" Buffer="100">
                                        <EventMask ShowMask="true" Msg="<span style='font-size: 12px;'>正在操作中，请稍后...</span>"
                                            MinDelay="10" />
                                        <EventMask ShowMask="true" Target="CustomTarget" CustomTarget="#{GridPanel1}" />
                                        <ExtraParams>
                                            <ext:Parameter Name="Id" Value="record.data.Id" Mode="Raw" />
                                        </ExtraParams>
                                    </RowSelect>
                                </DirectEvents>
                            </ext:RowSelectionModel>
                        </SelectionModel>
                    </ext:GridPanel>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel9" runat="server" Layout="Fit" Region="Center" Title="">
                <TopBar>
                    <ext:Toolbar ID="Toolbar1" runat="server">
                        <Items>
                            <ext:Button ID="Button4" runat="server" Text="新增" Icon="Add" ToolTip="新增产品">
                                <DirectEvents>
                                    <Click OnEvent="Add_Click">
                                    </Click>
                                </DirectEvents>
                            </ext:Button>
                            <ext:ToolbarSeparator />
                            <ext:Button ID="btDelete" runat="server" Text="删除" Icon="Delete" ToolTip="删除所选产品">
                                <DirectEvents>
                                    <Click OnEvent="Delete_Click">
                                        <Confirmation ConfirmRequest="true" Message="删除后不可恢复,确定删除所选的产品吗?" Title="提示" />
                                        <EventMask ShowMask="true" Msg="正在删除中，请稍后..." />
                                    </Click>
                                </DirectEvents>
                            </ext:Button>
                            <ext:ToolbarSeparator />
                            <ext:Button ID="Button1" runat="server" Text="导入" Icon="ApplicationSideExpand" ToolTip="导入产品">
                                <DirectEvents>
                                    <Click OnEvent="DR_Click">
                                        <EventMask ShowMask="true" Msg="正在弹出导入窗体中，请稍后..." />
                                    </Click>
                                </DirectEvents>
                            </ext:Button>
                            <ext:ToolbarSeparator />
                            <ext:Button ID="Button32" runat="server" Text="下载导入模板" Icon="ApplicationPut" ToolTip="下载导入模板">
                                <DirectEvents>
                                    <Click OnEvent="XZ_Click">
                                    </Click>
                                </DirectEvents>
                            </ext:Button>
                            <ext:ToolbarSeparator />
                            
                            <ext:Button ID="Button33" runat="server" Text="导出" AutoPostBack="true" Icon="ApplicationGet"
                                ToolTip="导出产品" OnClick="ToExcel">
                                <Listeners>
                                    <Click Fn="saveData" />
                                </Listeners>
                            </ext:Button>
                        </Items>
                    </ext:Toolbar>
                </TopBar>
                <Items>
                    <ext:GridPanel ID="GridPanel2" runat="server" Frame="true" StripeRows="true" AnimCollapse="false"
                        Icon="Table" TrackMouseOver="true">
                        <Store>
                            <ext:Store ID="Store2" runat="server" OnRefreshData="Store2_RefreshData">
                                <Reader>
                                    <ext:JsonReader IDProperty="Id">
                                        <Fields>
                                            <ext:RecordField Name="Id" />
                                            <ext:RecordField Name="CPMC" />
                                            <ext:RecordField Name="CPBM" />
                                            <ext:RecordField Name="CPFL" />
                                            <ext:RecordField Name="XH" />
                                            <ext:RecordField Name="GYSMC" />
                                            <ext:RecordField Name="DJ" />
                                            <ext:RecordField Name="AQKCL" />
                                             <ext:RecordField Name="DW" />
                                              <ext:RecordField Name="ZL" />
                                               <ext:RecordField Name="CBJ" />
                                               <ext:RecordField Name="JYCJJ" />
                                                <ext:RecordField Name="MS" />
                                        </Fields>
                                    </ext:JsonReader>
                                </Reader>
                            </ext:Store>
                        </Store>
                        <ColumnModel ID="ColumnModel1" runat="server">
                            <Columns>
                                <ext:Column Header="产品名称  " DataIndex="CPMC" Width="250">
                                    <Renderer Fn="renderTopic" />
                                </ext:Column>
                                <ext:Column Header="产品编码 " DataIndex="CPBM" Width="100" />
                                <ext:Column Header="产品类别 " DataIndex="CPFL" Width="70" />
                                <ext:Column Header="型号 " DataIndex="XH" Width="70" />
                                <ext:Column Header="供应商名称 " DataIndex="GYSMC" Width="140" />
                                <ext:Column Header="单价 " DataIndex="DJ" Width="70" />
                                <ext:Column Header="总库存数量 " DataIndex="AQKCL" Width="90" />
                                <ext:CommandColumn Width="76" Header="工具" Align="Center" ButtonAlign="Center">
                                    <Commands>
                                        <ext:GridCommand Icon="BookAddressesEdit" CommandName="Edit" Text="修改">
                                        </ext:GridCommand>
                                    </Commands>
                                </ext:CommandColumn>
                            </Columns>
                        </ColumnModel>
                        <LoadMask ShowMask="true" />
                        <DirectEvents>
                            <Command OnEvent="Command">
                                <EventMask ShowMask="true" Msg="<span style='font-size: 12px;'>正在操作中，请稍后...</span>"
                                    MinDelay="10" />
                                <ExtraParams>
                                    <ext:Parameter Name="command" Value="command" Mode="Raw" />
                                    <ext:Parameter Name="Id" Value="record.data.Id" Mode="Raw" />
                                </ExtraParams>
                            </Command>
                        </DirectEvents>
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckboxSelectionModel2" runat="server" />
                        </SelectionModel>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolbar1" runat="server" PageSize="17" DisplayInfo="true"
                                BeforePageText="<span style='font-size:12px'>第</span>" AfterPageText="<span style='font-size:12px'>页</span>"
                                DisplayMsg="<span style='font-size:12px'>显示 {0} - {1}， 共 {2} 条</span>" EmptyMsg="<span style='font-size:12px'>无数据可以显示</span>"
                                Cls="fontsize" />
                        </BottomBar>
                    </ext:GridPanel>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Viewport>
    <ext:Window ID="Window5" runat="server" Closable="True" Resizable="false" Height="500"
        Constrain="true" Icon="Anchor" Title="<span style='font-size:14px'>新增产品</span>"
        Draggable="true" CloseAction="Hide" Width="700" Modal="true" Padding="0" Hidden="true"
        AutoScroll="true" Layout="FitLayout">
        <AutoLoad Mode="IFrame" NoCache="true" ShowMask="true">
        </AutoLoad>
        <Listeners>
            <Hide Handler="DirectMethod.Window5Close();" />
        </Listeners>
    </ext:Window>
    <ext:Window ID="Window2" runat="server" Closable="True" Resizable="false" Height="200"
        Constrain="true" Icon="Anchor" Title="<span style='font-size:14px'>导入</span>"
        Draggable="false" Width="360" Modal="true" Padding="10" Layout="Form" Hidden="true">
        <Items>
            <ext:Panel ID="Panel3" runat="server" Title="" BodyBorder="false" BodyStyle="background-color:#eceef0">
                <Content>
                    <table width="100%">
                        <tr>
                            <td align="center">
                                <table style="margin-top: 14px;">
                                    <tr>
                                        <td>
                                            <span style="font-size: 14px;">选择：</span>
                                        </td>
                                        <td style="padding-top: 2px; padding-bottom: 2px">
                                            <ext:FileUploadField ID="FileUploadField1" runat="server" ButtonText="<span style='font-size:14px'>浏览...</span>"
                                                Icon="Attach" Width="231">
                                            </ext:FileUploadField>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="left">
                                            <table style="color: Red; font-size: 14px; margin-top: 6px">
                                                <tr>
                                                    <td>
                                                        注：
                                                    </td>
                                                    <td>
                                                        1:导入格式只能是Excel！
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </Content>
            </ext:Panel>
        </Items>
        <Buttons>
            <ext:Button ID="Button2" runat="server" Text="导入" Icon="Accept" IconAlign="Left"
                ToolTip="导入信息">
                <DirectEvents>
                    <Click OnEvent="btDR1_Click">
                        <EventMask ShowMask="true" Msg="正在导入中，请稍后..." MinDelay="10" />
                    </Click>
                </DirectEvents>
            </ext:Button>
            <ext:Button ID="Button5" runat="server" Text="关闭</span>" Icon="Cancel" IconAlign="Left"
                ToolTip="关闭该窗体">
                <DirectEvents>
                    <Click OnEvent="btClose1_Click">
                    </Click>
                </DirectEvents>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
