Minor ConfigForm changes

- add event handler for KeyDown
- drop unused code, we don't support
  table and rc4 now

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
This commit is contained in:
Syrone Wong
2016-08-17 15:56:00 +08:00
parent acf7963de7
commit 2b4b6cba07
2 changed files with 2 additions and 15 deletions
-13
View File
@@ -325,18 +325,5 @@ namespace Shadowsocks.View
MoveConfigItem(+1); // +1 means move forward
}
}
private void EncryptionSelect_SelectedIndexChanged(object sender, EventArgs e)
{
if (EncryptionSelect.Text == "rc4" || EncryptionSelect.Text == "table")
{
OneTimeAuth.Enabled = false;
OneTimeAuth.Checked = false;
}
else
{
OneTimeAuth.Enabled = true;
}
}
}
}