<%@ Page Language="C#" AutoEventWireup="true" validateRequest=false  CodeBehind="Info.aspx.cs" Inherits="InfoPath.Message.Info" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<!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>
    <style type="text/css">
        .style1
        {
            width: 145px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <uc1:Css id="Css1" runat="server"></uc1:Css>
			<TABLE width="100%" border="0" cellpadding="0" cellspacing="1">
				<TR class="WsdnOrgInfo">
					<TD>
						<asp:Label id="Label2" runat="server">发送：</asp:Label>
						<asp:Label id="Wsdn_StarCRM_From" runat="server"></asp:Label></TD>
					<TD class="style1">
						<asp:Label id="Label4" runat="server">收件：</asp:Label>
						<asp:Label id="Wsdn_StarCRM_To" runat="server"></asp:Label></TD>
					<TD>
						<asp:Label id="Label6" runat="server">时间：</asp:Label>
						<asp:Label id="Wsdn_StarCRM_Time" runat="server"></asp:Label></TD>
				</TR>
				<TR class="WsdnOrgInfo1">
					<TD colspan="3">
						<asp:Label id="Label8" runat="server">主题：</asp:Label>&nbsp;
						<asp:Label id="Wsdn_StarCRM_Title" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD colspan="2">
						<asp:Label id="Label3" runat="server">内容：</asp:Label>&nbsp;
						<asp:Button class="buttons" id="Button1" runat="server" Text="写新消息" onclick="Button1_Click"></asp:Button>&nbsp;<asp:Button class="buttons" id="Button2" runat="server" Text="回复消息" onclick="Button2_Click"></asp:Button>
					</TD>
					<TD>
						&nbsp;
						&nbsp;
						&nbsp;
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD colspan="3" valign="top">
						<FCKeditorV2:FCKeditor Height=150  ID="FCKeditor1" runat="server" 
            BasePath="~/fckeditor/" ToolbarSet="Basic">
    </FCKeditorV2:FCKeditor>			
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD colspan="3">
						<asp:Label id="Label1" runat="server" Visible=false>关联外部邮箱：</asp:Label>
						<asp:Label id="Wsdn_StarCRM_Email" runat="server">Label</asp:Label>
					</TD>
				</TR>
				

				<TR>
					<TD align="left" colspan="3">
						<P>
							<asp:Button class="buttons" id="Button5" runat="server" Text="邮件密钥" Visible="False"></asp:Button>
							<asp:Label id="Msg" runat="server" ForeColor="Red"></asp:Label>
							<asp:Panel id="Panel1" runat="server" Visible="False">
								<asp:Label id="Label7" runat="server" Visible="False">密钥：</asp:Label>
								<asp:TextBox id="TM1" runat="server" TextMode="Password" Width="90px" MaxLength="8"></asp:TextBox>
								<asp:Label id="LM2" runat="server">双保险密钥：</asp:Label>
								<asp:TextBox id="TM2" runat="server" Width="90px" MaxLength="8"></asp:TextBox>
								<asp:Button class="buttons" id="Button4" runat="server" Text="察看加密邮件" onclick="Button4_Click"></asp:Button>
							</asp:Panel></P><P><FONT face="宋体">
								<asp:Label id="Label5" runat="server" Visible="False">相关文件：</asp:Label>
								<asp:DataGrid id="DataGridFile" runat="server" Width="100%" AutoGenerateColumns="False" Visible="False">
									<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
									<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
									<Columns>
										<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
										<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="文件说明"></asp:BoundColumn>
										<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
										<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
										<asp:HyperLinkColumn Text="下载" Target="_blank" DataNavigateUrlField="Wsdn_StarCRM_Url" DataNavigateUrlFormatString="../UploadFile/{0}"
											HeaderText="下载"></asp:HyperLinkColumn>
									</Columns>
								</asp:DataGrid></FONT></P>
					</TD>
				</TR>
				
			</TABLE>
    </div>
    </form>
</body>
</html>
