private void convertButton_Click(object sender, EventArgs e) { //check to see if the mapping table is there. if (StaticModuleData.Vixen2xMappings.Count > 0) { vixen3SequenceCreator = new Vixen3SequenceCreator(parsedV2Sequence, StaticModuleData.Vixen2xMappings[vixen2ToVixen3MappingTextBox.Text]); Sequence = vixen3SequenceCreator.Sequence; if (Sequence.SequenceData != null) { //we got this baby converted so close it out and load up the Sequence DialogResult = System.Windows.Forms.DialogResult.OK; Close(); } } else { MessageBox.Show("Mapping data is missing, please try again.", "No Mapping Data", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void convertButton_Click(object sender, EventArgs e) { //check to see if the mapping table is there. if (StaticModuleData.Vixen2xMappings.Count > 0) { vixen3SequenceCreator = new Vixen3SequenceCreator(parsedV2Sequence, StaticModuleData.Vixen2xMappings[vixen2ToVixen3MappingTextBox.Text]); Sequence = vixen3SequenceCreator.Sequence; if (Sequence.SequenceData != null) { //we got this baby converted so close it out and load up the Sequence DialogResult = System.Windows.Forms.DialogResult.OK; Close(); } } else { MessageBox.Show("Mapping data is missing, please try again.", "No Mapping Data", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }