private void BlockStringRadioButton_CheckedChanged(object sender, EventArgs e) { if (sender == Block1StringRadioButton) { m_currentStringBlock = BlockType.Block1; Block1StringListBox.Visible = true; Block2StringListBox.Visible = false; } if (sender == Block2StringRadioButton) { m_currentStringBlock = BlockType.Block2; Block1StringListBox.Visible = false; Block2StringListBox.Visible = true; } StringListBox.Focus(); }
public void OnActivate() { StringListBox.Focus(); UpdateStringPreview(); }