private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { int i = new e.RowIndex(); textBox1.Text = ds.Tables[0].Rows[i][1].ToString(); }
PaintGraphCell(e.RowIndex, e.CellBounds, e.Graphics))