Beispiel #1
0
        private void leTimeoutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            REPZPM_DLL.Retorno = REPZPM_DLL.DLLREP_LeTimeout(REPZPM_DLL.Handle);

            if (REPZPM_DLL.Retorno == -1)
            {
                MessageBox.Show("Erro na leitura do Timeout!", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else
            {
                MessageBox.Show("Timeout definido: " + REPZPM_DLL.Retorno, "Sucesso", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }