ANHDBI.frmLogin.btnTest_Click C# (CSharp) Метод

btnTest_Click() приватный Метод

Handles the Click event of the btnTest control.
private btnTest_Click ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event data.
Результат void
        private void btnTest_Click(object sender, System.EventArgs e)
        {
            if (TestConnection() == false)
                MessageBox.Show("Connecton Failed!", "Test Connection");
            else
                MessageBox.Show("Connecton Successful!", "Test Connection");
        }