<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CollChangeClass.aspx.cs"
    Inherits="MTCUN.Class.CollChangeClass" %>

<!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 id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
    <style type="text/css">
        .style1 {
            width: 100%;
        }

        .style2 {
            width: 242px;
        }

        .style3 {
            width: 61px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="divpanel">
            <table class="style1">
                <tr>
                    <td class="style2">
                        <div class="tool_ControlPanel">班级成员：</div>
                    </td>
                    <td class="style3">&nbsp;
                    </td>
                    <td>
                        <div class=" tool_ControlPanel">
                            课程分类：<asp:DropDownList ID="ddlCourseType" runat="server" DataTextField="CourseTypeName"
                                DataValueField="CourseTypeID" AutoPostBack="True" OnSelectedIndexChanged="ddlCourseType_SelectedIndexChanged">
                            </asp:DropDownList>
                            课程：<asp:DropDownList ID="ddlCourse" runat="server" DataTextField="CourseName"
                                DataValueField="CourseID" AutoPostBack="True"
                                OnSelectedIndexChanged="ddlCourse_SelectedIndexChanged">
                            </asp:DropDownList>
                            班级状态：<asp:DropDownList ID="ddlState" runat="server" AutoPostBack="True"
                                OnSelectedIndexChanged="ddlState_SelectedIndexChanged">
                                <asp:ListItem Value="0">全部</asp:ListItem>
                                <asp:ListItem Value="1">未开课</asp:ListItem>
                                <asp:ListItem Value="2">开课中</asp:ListItem>
                                <asp:ListItem Value="3">已结束</asp:ListItem>
                            </asp:DropDownList>
                            转到新班级：<asp:DropDownList ID="ddlClass" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlClass_SelectedIndexChanged">
                            </asp:DropDownList>
                        </div>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        <asp:ListBox ID="lbxSelected" runat="server" Height="337px" Width="209px"></asp:ListBox>
                    </td>
                    <td class="style3">
                        <br />
                        <label class="lab_button">
                            <asp:Button ID="btnAddStudent" runat="server" OnClientClick="return confirm('您确定使用快捷转班？转班后无法快捷撤销。');"
                                Height="24px" Text="转班&gt;" OnClick="btnAddStudent_Click" />
                        </label>
                    </td>
                    <td>
                        <asp:ListBox ID="lbxStudents" runat="server" Height="337px" Width="209px" SelectionMode="Multiple"></asp:ListBox>
                    </td>
                </tr>
            </table>
        </div>
        <div style="border-width: 1px; padding: 6px; margin-top: 20px; width: 50%" class="bgc6">
            <asp:Label ID="labMsg" runat="server" ForeColor="Red"></asp:Label>
        </div>
    </form>
    <div class="divremark">
        <b>注意事项：</b><br />
        1、此功能可以将学员异动办理、购买新课程、选入新班级一步完成，一次只能转一名学员。操作后无法快速撤销，请谨慎操作。<br />
        2、原理：当学员在原班级有剩余课时时，系统自动办理异动手续将剩余课时及计算出的费用退给学员，接着系统根据所退课时及费用购买新课程，最后进行选班。<br />
        3、根据原理我们可以知道，<span style="color: Red"> 转到新班级的课时数及金额等于原班所退课时及费用</span>。<br />
        4、对操作方法有任何疑惑请停止使用此功能，否则会造成严重后果。
    </div>
    <div class="backpanel">
        <label class="lab_button" id="__mt_labBack" runat="server">
            <input id="Button1" causesvalidation="false" type="button" runat="server" onclick="back(this)"
                value="返回" />
        </label>
    </div>
</body>
</html>
