private void button3_Click_1(object sender, EventArgs e) { DataGridViewRow _drTemp = dataGridView1.CurrentRow; string _strTableName = _drTemp.Cells["TABLE_NAME"].Value.ToString(); string _strMs = _drTemp.Cells["MS"].Value.ToString(); DataTable _dt = (DataTable)dataGridView1.DataSource; ShowFixInfo bs = new ShowFixInfo(_strTableName, _strMs); CommonFunction.AddForm2(bs); }