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