private void encerraDriverToolStripMenuItem_Click(object sender, EventArgs e) { REPZPM_DLL.Retorno = REPZPM_DLL.DLLREP_EncerraDriver(REPZPM_DLL.Handle); if (REPZPM_DLL.Retorno == 1) { MessageBox.Show("Driver encerrado com sucesso!", "Sucesso", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Erro no encerramento do Driver. Favor verificar.", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error); } }