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

<%@ Register src="../Include/UserSelect.ascx" tagname="UserSelect" tagprefix="uc2" %>

<!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>
	<script language="javascript" src="../js/JScript.js"></script>
</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="WsdnOrgInfo1">
					<TD>我要发给：</TD>
					<TD >
							<uc2:UserSelect ID="UserSelect1" runat="server" />
							<asp:CheckBox id="CheckBox1" runat="server" Text="" Enabled="False" Visible="False"></asp:CheckBox>
					</TD>
					<TD >
						<asp:Label id="Label2" runat="server">发送人：</asp:Label>
						<asp:Label id="Wsdn_StarCRM_From" runat="server">Label</asp:Label></TD>
					<TD ></TD>
				</TR>
				<TR class="WsdnOrgInfo1">
					<TD>消息标题：</TD><TD colspan="2">
						
							<asp:TextBox id="Wsdn_StarCRM_Title" runat="server" Width="350px"></asp:TextBox>&nbsp;&nbsp;&nbsp;
							<asp:DropDownList id="Wsdn_StarCRM_Type" runat="server">
								<asp:ListItem Value="普通邮件">普通邮件</asp:ListItem>
								<asp:ListItem Value="紧急邮件">紧急邮件</asp:ListItem>
							</asp:DropDownList>
						
					</TD>
				</TR>
				
				<TR class="WsdnOrgInfo1">
					<TD><asp:Label id="Label3" runat="server">内容：</asp:Label>&nbsp;&nbsp;</TD>
					<TD vAlign="top" colSpan="2">
							<FCKeditorV2:FCKeditor Height=150  ID="FCKeditor1" runat="server" 
            BasePath="~/fckeditor/" ToolbarSet="Basic">
    </FCKeditorV2:FCKeditor>
						<asp:Button class="buttons" id="Button2" runat="server" Text="Button" onclick="Button2_Click"></asp:Button>
						<asp:Button class="buttons" id="Button3" runat="server" Text="返回" onclick="Button3_Click"></asp:Button>
					</TD>
				</TR>
				<TR class="WsdnOrgInfo1">
					<TD vAlign="top" colSpan="3" align="center">
						&nbsp;
						&nbsp;
						<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label>
						<asp:Label id="Msg1" runat="server" ForeColor="#C00000"></asp:Label>
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD colspan="3">
						<asp:Label id="Label1" runat="server" Visible="False">外部邮箱：</asp:Label>
						<asp:TextBox id="Wsdn_StarCRM_Email" runat="server" Width="350px" Visible="False"></asp:TextBox>
						<asp:Label id="Label5" runat="server" Font-Underline="True" Visible="False">←填写此项可连带发送Email</asp:Label>
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD colspan="3">
						<asp:CheckBox id="Checkbox2" runat="server" Text="加密邮件" AutoPostBack="True" 
                            oncheckedchanged="Checkbox2_CheckedChanged" Visible="False"></asp:CheckBox><FONT face="宋体">&nbsp;
							<asp:TextBox id="TM1" runat="server" Visible="False" Width="90px" MaxLength="8">A1B2C3D4</asp:TextBox>
						</FONT>
						<asp:Label id="LM1" runat="server" Visible="False">密钥必须是8位数字或字母，A1B2C3D4只是一个例子，您可以修改</asp:Label><BR>
						<asp:CheckBox id="CheckBox3" runat="server" Visible="False" Text="加双保险" 
                            AutoPostBack="True" oncheckedchanged="CheckBox3_CheckedChanged"></asp:CheckBox><FONT face="宋体">&nbsp;
						</FONT>
						<asp:Label id="LM2" runat="server" Visible="False">双保险密钥：</asp:Label>
						<asp:TextBox id="TM2" runat="server" Visible="False" Width="90px" MaxLength="8"></asp:TextBox><BR>
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD vAlign="top" colSpan="3" align="center">
						
						<asp:datagrid id="DGValidate" runat="server" Width="100%" Height="68px" AutoGenerateColumns="False"
							Visible="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="MainCaption" HeaderText="错误项目"></asp:BoundColumn>
								<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
								<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
							</Columns>
						</asp:datagrid>
						&nbsp;
					</TD>
				</TR>
			</TABLE>
    </div>
    </form>
</body>
</html>
