private void radiobuttonJoystick_CheckedChanged(object sender, EventArgs e) {
if (this.Tag == null & listviewControls.SelectedIndices.Count == 1) {
int i = listviewControls.SelectedIndices[0];
Interface.CurrentControls[i].Method = Interface.ControlMethod.Joystick;
UpdateControlListElement(listviewControls.Items[i], i, true);
}
panelJoystick.Enabled = radiobuttonJoystick.Checked;
if (radiobuttonJoystick.Checked)
{
textboxJoystickGrab.Text = Interface.GetInterfaceString("controls_selection_joystick_assignment_grab");
}
else
{
textboxJoystickGrab.Text = Interface.GetInterfaceString("controls_selection_keyboard_assignment_grab");
}
}