private void btnGPO0Off_Click(object sender, EventArgs e) { if (HighLevelInterface.SetGPO0Status(tbIpAddress.Text, false) == Result.OK) { tsStatus.Text = "SetGPO0Status OK!"; } else { tsStatus.Text = "SetGPO0Status Failed!"; } }