Beispiel #1
0
        private void btn_exclui_Click(object sender, EventArgs e)
        {
            verifica_acesso VA = new verifica_acesso();

            try
            {
                if (sflag == 2)
                {
                    Console.WriteLine(tmp_user_carregado.toString());
                    VA.excluiRegistro(tmp_user_carregado);
                    MessageBox.Show("Excluido com sucesso, Registro está no arquivo morto !!", "Informativo", MessageBoxButtons.OK, MessageBoxIcon.Information);
                }
            } catch (System.Exception ex)
            {
                MessageBox.Show(ex.Message, "Atenção", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            ativa_menu();
        }