private void OKButton_Click(object sender, EventArgs e)
{
if (!SendToGroupChat.Checked) {
ChatChannel.Text = null;
ChatAlias.Text = null;
}
if (!SendToUser.Checked)
ToUsername.Text = null;
foreach (var pref in Prefs)
pref.Setting.Value = pref.Control.Value;
}