示例#1
0
        private void Button3_Click(object sender, EventArgs e)
        {
            string id = dataGridView1.SelectedRows[0].Cells["id"].Value.ToString();

            frmCadastrarUsuario frm = new frmCadastrarUsuario(user.GetDTO(id));

            frm.ShowDialog();

            AtualizaDataGrid();
        }
示例#2
0
        private void novoUsuárioToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCadastrarUsuario CadastrarUsuario = new frmCadastrarUsuario();

            CadastrarUsuario.ShowDialog();
        }