private void dataGrid_Usuario_CellClick(object sender, DataGridViewCellEventArgs e) { ExibirUsuario novo = new ExibirUsuario(long.Parse(dataGrid_Usuario.Rows[e.RowIndex].Cells["Código"].Value.ToString())); novo.ShowDialog(); }
private void toolStripButton_Selecionar_Click(object sender, EventArgs e) { ExibirUsuario novo = new ExibirUsuario(); novo.ShowDialog(); }