• 大小: 0.08M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签: C#  c  网页  源码  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using System.Net;
using System.IO;

using System.Text.Regularexpressions;

namespace Ex15_07
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
   

        }

        private void button1_Click(object sender EventArgs e)
        {
            if (textBox1.Text == ““)
            { MessageBox.Show(“请输入网址“); return; }
            else{
                if (ValidateDate1(textBox1.Text.TrimEnd()))
                {
                    string strl;//存储编码
                    WebRequest wb = WebRequest.Create(textBox1.Text.Trim());//请求资源
                    WebResponse webRed = wb.GetResponse();//响应请求
                    Stream redweb = webRed.GetRes

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-04-06 13:10  Ex15_07\
     文件         910  2007-07-11 11:34  Ex15_07.sln
     文件       14848  2007-07-11 11:34  Ex15_07.suo
     目录           0  2010-04-06 13:10  Ex15_07\bin\
     目录           0  2010-04-06 13:10  Ex15_07\bin\Debug\
     文件       20480  2007-07-11 11:34  Ex15_07\bin\Debug\Ex15_07.exe
     文件       26112  2007-07-11 11:34  Ex15_07\bin\Debug\Ex15_07.pdb
     文件        5658  2007-07-11 11:34  Ex15_07\bin\Debug\Ex15_07.vshost.exe
     文件        3221  2007-07-11 11:34  Ex15_07\Ex15_07.csproj
     文件        2083  2007-07-11 11:34  Ex15_07\Form1.cs
     文件        3971  2007-07-11 11:34  Ex15_07\Form1.Designer.cs
     文件        6017  2007-07-11 11:34  Ex15_07\Form1.resx
     目录           0  2010-04-06 13:10  Ex15_07\obj\
     目录           0  2010-04-06 13:10  Ex15_07\obj\Debug\
     文件         842  2007-07-11 11:34  Ex15_07\obj\Debug\Ex15_07.csproj.GenerateResource.Cache
     文件       20480  2007-07-11 11:34  Ex15_07\obj\Debug\Ex15_07.exe
     文件         180  2007-07-11 11:34  Ex15_07\obj\Debug\Ex15_07.Form1.resources
     文件       26112  2007-07-11 11:34  Ex15_07\obj\Debug\Ex15_07.pdb
     文件         180  2007-07-11 11:34  Ex15_07\obj\Debug\Ex15_07.Properties.Resources.resources
     目录           0  2010-04-06 13:10  Ex15_07\obj\Debug\TempPE\
     文件         268  2007-07-11 11:34  Ex15_07\obj\Ex15_07.csproj.FileList.txt
     文件         592  2007-07-11 11:34  Ex15_07\Program.cs
     目录           0  2010-04-06 13:10  Ex15_07\Properties\
     文件        1162  2007-07-11 11:34  Ex15_07\Properties\AssemblyInfo.cs
     文件        2868  2007-07-11 11:34  Ex15_07\Properties\Resources.Designer.cs
     文件        5612  2007-07-11 11:34  Ex15_07\Properties\Resources.resx
     文件        1090  2007-07-11 11:34  Ex15_07\Properties\Settings.Designer.cs
     文件         249  2007-07-11 11:34  Ex15_07\Properties\Settings.settings
     目录           0  2010-04-06 13:10  Ex15_08\
     文件         910  2007-07-11 11:34  Ex15_08.sln
     文件       14848  2007-07-11 11:34  Ex15_08.suo
............此处省略31个文件信息

评论

共有 条评论