private void buttonOpen_Click(object sender, System.EventArgs e) { pigpiodIf.pigpio_start(textBoxAddress.Text, "8888"); buttonOpen.Enabled = false; buttonClose.Enabled = true; }