private void addNameToolStripMenuItem_Click(object sender, EventArgs e) { if (FaceFX == null) { return; } string result = PromptDialog.Prompt(null, "Please enter new name to add", "ME3Explorer", "", true); if (result != "") { FaceFX.AddName(result); FaceFX.Save(); int n = listBox1.SelectedIndex; listBox1.SelectedIndex = -1; listBox1.SelectedIndex = n; } }
private void addNameToolStripMenuItem_Click(object sender, EventArgs e) { if (FaceFX == null) { return; } string result = Microsoft.VisualBasic.Interaction.InputBox("Please enter new name to add", "ME3Explorer", "", 0, 0); if (result != "") { FaceFX.AddName(result); FaceFX.Save(); int n = listBox1.SelectedIndex; listBox1.SelectedIndex = -1; listBox1.SelectedIndex = n; } }