コード例 #1
0
        //************   Formerly the Main() function ***************//
        static void ThisIsNotMain(string[] args)
        {
            //Uri u = new Uri("http://stealthgerbil.com/files/pdf");
            //Uri u = new Uri("http://10.0.0.17/link.php");
            Uri          u     = new Uri("http://10.0.0.17/stuff");
            ExtractLinks parse = new ExtractLinks();

            parse.Process(u, 1);
        }//end main
コード例 #2
0
        private void BtnRun_Click(object sender, EventArgs e)
        {
            String list = "";

            //Uri u = new Uri("http://10.0.0.17/stuff");
            Uri          u     = new Uri(TxtAddress.Text);
            ExtractLinks parse = new ExtractLinks();

            //  list = parse.Process(u, 1);
            list            = parse.Process(u, 1);
            TxtDisplay.Text = list;
        }