资源简介

使用c#语言的winform程序,和devexpress控件,实现的管理C盘下的hosts文件,方便域名解析。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Text.Regularexpressions;

namespace hosts
{
    public partial class edit : Form
    {
        int Handle;
        Form1 F;
        string Type;
        public edit(int handleForm1 fstring type)
        {
            InitializeComponent();
            Handle = handle;
            F = f;
            Type = type;
            if (Type == “Edit“)
            {
                textEdit1.Text = Form1.dt.Rows[Handle][“IP“].ToString();
                textEdit2.Text = Form1.dt.Rows[Handle][“DNS“].ToString();
            }
    

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        187  2018-03-01 14:47  hosts\hosts\App.config

     文件     158712  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.Data.v13.1.resources.dll

     文件      11768  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.Printing.v13.1.Core.resources.dll

     文件      25592  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.Utils.v13.1.resources.dll

     文件      28664  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.XtraBars.v13.1.resources.dll

     文件      45560  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.XtraEditors.v13.1.resources.dll

     文件      36856  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.XtraGrid.v13.1.resources.dll

     文件      16888  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.XtraLayout.v13.1.resources.dll

     文件      20472  2017-11-17 09:01  hosts\hosts\bin\Debug\de\DevExpress.XtraPrinting.v13.1.resources.dll

     文件    3195384  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.Data.v13.1.dll

     文件     914138  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.Data.v13.1.xml

     文件    2374648  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.Printing.v13.1.Core.dll

     文件     827885  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.Printing.v13.1.Core.xml

     文件    4267512  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.Utils.v13.1.dll

     文件     469324  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.Utils.v13.1.xml

     文件    4204024  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraBars.v13.1.dll

     文件    1687100  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraBars.v13.1.xml

     文件    2592248  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraEditors.v13.1.dll

     文件    1411625  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraEditors.v13.1.xml

     文件    2269176  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraGrid.v13.1.dll

     文件    1304669  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraGrid.v13.1.xml

     文件     834040  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraLayout.v13.1.dll

     文件     317270  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraLayout.v13.1.xml

     文件     694776  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraPrinting.v13.1.dll

     文件     133947  2017-11-17 09:01  hosts\hosts\bin\Debug\DevExpress.XtraPrinting.v13.1.xml

     文件     168952  2017-11-17 09:01  hosts\hosts\bin\Debug\es\DevExpress.Data.v13.1.resources.dll

     文件      13304  2017-11-17 09:01  hosts\hosts\bin\Debug\es\DevExpress.Printing.v13.1.Core.resources.dll

     文件      26616  2017-11-17 09:01  hosts\hosts\bin\Debug\es\DevExpress.Utils.v13.1.resources.dll

     文件      38904  2017-11-17 09:01  hosts\hosts\bin\Debug\es\DevExpress.XtraBars.v13.1.resources.dll

     文件      66552  2017-11-17 09:01  hosts\hosts\bin\Debug\es\DevExpress.XtraEditors.v13.1.resources.dll

............此处省略70个文件信息

评论

共有 条评论