<%@ Page language="c#" Codebehind="editfile.aspx.cs" AutoEventWireup="True" Inherits="Webdisk.editfile" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>编辑文件</title>
    <!-- Plugin styles -->
    <link rel="stylesheet" href="css/bundle.css" type="text/css">
    <!-- App styles -->
    <link rel="stylesheet" href="css/app.min.css" type="text/css">
</head>
	<body>
 <div>
		 <main class="main-content">
                <div class="card">
                    <div class="card-body">
                        <div class="row">&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/files.gif" width="16" height="16" align="absMiddle">&nbsp;&nbsp;&nbsp;&nbsp;<h5><b>编辑文件<%=head%></b></h5>
                            </div>
                       
		<form id="edit" method="post" runat="server">

									<div class="row align-items-center justify-content-center"><INPUT class="btn btn-primary" type="button" value=" 保 存 " name="SaveBtn" runat="server" id="SaveBtn" onserverclick="SaveBtn_ServerClick">
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT class="btn btn-light" id="SaveAs" type="button" value="另存为：" name="SaveAs" runat="server" onserverclick="SaveAs_ServerClick">
									&nbsp;&nbsp;<INPUT class="form-control w-25" id="SaveAsTxt" maxLength="30" name="SaveAsTxt" runat="server">
									<span class="style1">（扩展名使用当前文件扩展名）
									<asp:CheckBox ID="CheckBox1" runat="server" Text="自动换行" Checked="True" AutoPostBack="True" oncheckedchanged="CheckBox1_CheckedChanged"></asp:CheckBox>
									</span></div><br>
									<br>
									<asp:TextBox CssClass="form-control" id="CodeText" runat="server" Width="95%" Height="500px" TextMode="MultiLine"></asp:TextBox>
									
		</form>
  </div></div>
        </main>
     </div>
        <!-- end::main content -->
</body>
</html>