private void SelectWrestler(object sender, EventArgs e)
        {
            ListBox listBox = (ListBox)sender;

            currentWrestler     = wrestlerData[listBox.SelectedIndex];
            nameBox.Text        = currentWrestler.Name;
            applyButton.Enabled = true;
        }
        public static WrestlerData[] GetWrestlerData(string fileName)
        {
            List <WrestlerData> wrestlerData = new List <WrestlerData>();
            int lastByteIndex = 0;

            byte[] allBytes = File.ReadAllBytes(fileName);

            if (allBytes.Length != m_TrueFileSize)
            {
                MessageBox.Show("No suitable data detected!", "Error");
                return(null);
            }

            for (int i = 0; i < m_CharacterNumber; i++)
            {
                WrestlerData wrestler = new WrestlerData();
                wrestler.Bytes = allBytes.Skip(lastByteIndex).Take(m_BlockLength).ToArray();
                wrestler.Index = i;
                lastByteIndex += m_BlockLength;
                wrestlerData.Add(wrestler);
            }

            return(wrestlerData.ToArray());
        }