private void btn_cadastro_Click(object sender, EventArgs e) { frm_cadcliente form_cadcliente = new frm_cadcliente(); form_cadcliente.Show(); }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { frm_cadcliente form_cadcliente = new frm_cadcliente(dataGridView1.SelectedRows[0].Cells["idclientes"].Value.ToString()); form_cadcliente.Show(); }