private void btnSaveUser_Click(object sender, EventArgs e)
        {
            var frm = new FormCadUsuario(this);


            frm.btnCadSave.Visible = true;
            frm.panelUp.Visible    = false;
            frm.Show();
        }
        private void btnSelectUser_Click(object sender, EventArgs e)
        {
            lblException.Text = null;

            var frm = new FormCadUsuario(this);

            if (LstVUsuario.SelectedItems.Count == 1)
            {
                var a = LstVUsuario.SelectedItems;

                List <string> c = new List <string>();
                foreach (ListViewItem b in a)
                {
                    c.Add(b.Text);
                }

                foreach (Usuario p in UsuarioController.LstUsuario)
                {
                    if (p.id.Equals(c.First <String>()))
                    {
                        frm.txtEndereco.Text   = p.endereco;
                        frm.txtEmail.Text      = p.email;
                        frm.txtNascimento.Text = p.nascimento;
                        frm.txtNome.Text       = p.firstName;
                        frm.txtSobrenome.Text  = p.lastName;
                        frm.txtSenha.Text      = p.senha;
                        frm.txtId.Text         = p.id;
                        frm.txtPrivilegio.Text = p.privilege;
                    }
                }
                frm.lblRSenha.Visible  = false;
                frm.txtRSenha.Visible  = false;
                frm.btnCadSave.Visible = false;
                frm.panelUp.Visible    = true;
                frm.Show();
            }
            else
            {
                lblException.Text = "Nenhum Item Selecionado";
            }
        }