void CustListViewBlockSelectedIndexChanged(object sender, EventArgs e)
{
if (custListViewMain.SelectedIndices.Count > 0 && custListViewBlock.SelectedIndices.Count > 0)
{
DialogueChoicesEntry choicesEntry = GetCurrentDialogueEntry();
for (int i = 0; i < textBoxesJap.Length; i++)
{
if (choicesEntry.JapText[i] != null)
{
textBoxesJap[i].Text = choicesEntry.JapText[i];
textBoxesJap[i].Visible = true;
textBoxesEng[i].Text = choicesEntry.EngText[i];
textBoxesEng[i].Visible = true;
panelsJap[i].Visible = true;
panelsEng[i].Visible = true;
}
else
{
textBoxesJap[i].Text = String.Empty;
textBoxesJap[i].Visible = false;
textBoxesEng[i].Text = String.Empty;
textBoxesEng[i].Visible = false;
}
panelsJap[i].Invalidate();
panelsEng[i].Invalidate();
}
textBoxTransNotes.Enabled = true;
}
// If no selection, disable input area
else
{
DisableInputs();
}
}