using
System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Data;
using
System.Drawing;
using
System.Text;
using
System.Windows.Forms;
namespace
站内搜索
{
public partial class frmSearch : Form
{
public frmSearch()
{
InitializeComponent();
}
public static string google = "http://www.google.cn/custom?hl=zh-CN&newwindow=1&safe=active&cof=&domains=SearchSite&q=KeyWords&sitesearch=SearchSite&meta=";
private void btnSearch_Click(object sender, EventArgs e)
{
string search = google;
search = search.Replace("SearchSite", this.cboSite.Text).Replace("KeyWords", this.txtKeyWords.Text.Trim());
System.Diagnostics.Process.Start(search);
}
private void btnClose_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
http://www.cnblogs.com/Files/mgod/SiteSearch.rar
4153

被折叠的 条评论
为什么被折叠?



