void updateButtonStates() { joinButton.Enabled = loggedin; joinButton.Text = voipclient.GetMyChannelID() > 0 ? "Leave" : "Join"; }