selfile.aspx.cs
来自「如果不使用IIS,请先运行 XSP.exe,待提示已侦听 8080端口后」· CS 代码 · 共 22 行
CS
22 行
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Manage_controlpage_selfile : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
fileManage1.RootPath = Request["rootpath"];
}
protected void fileManage1_SelFile(string file)
{
Response.Write("<script>window.parent.closeframe('"+ file.Replace("\\","\\\\").Replace("'","\\'") +"');</script>");
Response.End();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?