예제 #1
0
        private void AddressList_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.Tracks = SongUtil.ParseTrack((uint)Address.Value, (uint)B0.Value);

            for (int i = 0; i < this.TrackListBoxs.Length; i++)
            {
                if (Tracks.Count > i)
                {
                    SongUtil.TrackToListBox(this.TrackListBoxs[i], Tracks[i]);
                    InputFormRef.markupJumpLabel(this.TrackLabels[i]);
                }
                else
                {
                    this.TrackListBoxs[i].Items.Clear();
                    InputFormRef.unmarkupJumpLabel(this.TrackLabels[i]);
                }
            }

            if (this.Tracks.Count >= 12)
            {//このトラックは再生できますか?
                if (Program.ROM.RomInfo.version() >= 7 && Program.ROM.RomInfo.version() <= 8)
                {
                    HowDoYouLikePatchForm.CheckAndShowPopupDialog(HowDoYouLikePatchForm.TYPE.Track12_Over_By_SongTrack);
                }
            }
        }