日期:2013-10-13  浏览次数:20522 次

testform.cs
------------------------------------------------------------
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Net;

namespace testagain
{
    /// <summary>
    /// Summary description for testform.
    /// </summary>
    public class testform : System.Windows.Forms.Form
    {
        private System.Windows.Forms.TextBox txt_Domain;
        private System.Windows.Forms.Button btn_Find;
        private System.Windows.Forms.Label lbl_result;
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.Container components = null;

        public testform(Form f_MainForm)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            this.MdiParent = f_MainForm;

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

            /// <summary>
            /// Clean up any resources being used.
            /// </summary>
            protected override void Dispose( bool disposing )
            {
                if( disposing )
                {
                    if(components != null)
                    {
                        components.Dispose();
                    }
                }
                base.Dispose( disposing );
            }

        #region Windows Form Designer generated code
            /// <summary>
&nb