Beispiel #1
0
        //双击跳到字段页面
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            SJKZD sjkzd = new SJKZD();
            int   a     = dataGridView1.CurrentRow.Index;

            sjkzd.tb  = dataGridView1.Rows[a].Cells["Table1"].Value.ToString();
            sjkzd.xt  = dataGridView1.Rows[a].Cells["XT"].Value.ToString();
            sjkzd.sjk = dataGridView1.Rows[a].Cells["DataBase"].Value.ToString();
            //gnln.name = dataGridView1.Rows[a].Cells["U_Name"].Value.ToString();
            //gnln.zygn = dataGridView1.Rows[a].Cells["ZYGN"].Value.ToString();
            //gnln.pt = dataGridView1.Rows[a].Cells["PT"].Value.ToString();
            //gnln.lx = dataGridView1.Rows[a].Cells["LX"].Value.ToString();
            //gnln.gnlx = dataGridView1.Rows[a].Cells["LX"].Value.ToString();
            sjkzd.Show();
        }
Beispiel #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            SJKZD sqlzd = new SJKZD();

            sqlzd.Show();
        }
Beispiel #3
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            SJKZD sqlzd = new SJKZD();

            sqlzd.Show();
        }