private void chaxun_Click(object sender, EventArgs e)
        {
            timer1.Enabled = false;

            string url = RestUrl.indexdata;
            // Product p = new Product();
            indexinfo index = new indexinfo();
            string    indexcontxt;

            indexcontxt = IndexCon1.Text;
            switch (indexcontxt)
            {
            case "产品编码":
                index.num = 1;
                break;

            case "产品名称":
                index.num = 2;
                break;

            case "产品类别":
                index.num = 3;
                break;

            case "生产车间":
                index.num = 4;
                break;
            }
            index.conditon = Condition1.Text;

            Condition1.Clear();
            string jsonstring = string.Empty;

            jsonstring = fastJSON.JSON.Instance.ToJSON(index);
            HttpWebConnect helper = new HttpWebConnect();

            helper.RequestCompleted += new deleGetRequestObject(helper_RequestCompleted_getproducingProduct);
            helper.TryPostData(url, jsonstring);
        }