Example #1
0
        private void ultraGridall_DoubleClickRow(object sender, DoubleClickRowEventArgs e)
        {
            int    i = this.ultraGridall.ActiveRow.Index;
            int    b = this.ultraGridall.ActiveCell.Column.Index;
            string IDshopName, ID, Imrul;

            IDshopName = this.ultraGridall.Rows[i].Cells[0].Value.ToString().Trim();
            string sID = System.Text.RegularExpressions.Regex.Replace(IDshopName, @"[^0-9]+", "");



            if (b == 0)
            {
                DPImages getDpA = new Sium.DPImages(sID, IDshopName);
                getDpA.Show();
            }
            if (b == 1)
            {
                NewListZTC getDp = new Sium.NewListZTC(sID);
                getDp.Show();
            }

            if (b == 2)
            {
                DPindex getDp = new Sium.DPindex(FPPcokk, "50012100", IDshopName, sID, TTid);
                getDp.Show();
            }
            //NewListZTC
            if (b == 3)
            {
                DPList getDp = new Sium.DPList(FPPcokk, IDshopName, sID, TTid);
                getDp.Show();
            }
            if (b == 4)
            {
                NewListZTC getDp = new Sium.NewListZTC(sID);
                getDp.Show();
            }

            //else
            //{

            //    DPindex getDp = new Sium.DPindex(FPPcokk, "50012100", IDshopName, sID);
            //    getDp.Show();
            //}
        }
Example #2
0
        private void ultraGridcnt_DoubleClickRow(object sender, DoubleClickRowEventArgs e)
        {
            int    i          = this.ultraGridcnt.ActiveRow.Index;
            int    b          = this.ultraGridcnt.ActiveCell.Column.Index;
            string id         = this.ultraGridcnt.Rows[i].Cells[0].Value.ToString().Trim();
            string IDshopName = this.ultraGridcnt.Rows[i].Cells[1].Value.ToString().Trim();

            // MessageBox.Show(id);
            if (b == 0)
            {
                DPindex getDp = new Sium.DPindex(FPPcok, "50012100", IDshopName, id, System.Configuration.ConfigurationManager.AppSettings["TainID"]);
                getDp.Show();
            }
            if (b == 1)
            {
                DPList getDp = new Sium.DPList(FPPcok, IDshopName, id, IDshopName);
                getDp.Show();
            }


            //hqkeyword getK = new hqkeyword(FPPcok, "50012100", IDshopName, id);
            //getK.Show();
        }
Example #3
0
        private void button4_Click(object sender, EventArgs e)
        {
            DPList getDp = new Sium.DPList(FPPcokk, "查询结果", comboBox1.Text, TTid);

            getDp.Show();
        }