示例#1
0
 private void btnGetSource_Click(object sender, EventArgs e)
 {
     if (this.txtUrl.Text.Trim().Length > 0)
     {
         SimpleCatcher catcher = new SimpleCatcher();
         this.txtPageSource.Text = catcher.GetPageSource(this.txtUrl.Text.Trim());
     }
 }
示例#2
0
 private void btnGetSource_Click(object sender, EventArgs e)
 {
     if (this.txtUrl.Text.Trim().Length > 0)
     {
         SimpleCatcher catcher = new SimpleCatcher();
         this.txtPageSource.Text=catcher.GetPageSource(this.txtUrl.Text.Trim());
     }
 }