private void MusicSlotViewer_Load(object sender, EventArgs e)
 {
     DisableInputs(true);
     TranslateList = MusicConfig.TranslateList;
     musicModeBox.Items.AddRange(new string[] { "Single Channel", "Multi Channel Water", "Multi Channel Area" });
     dataGrid.DataSource = MusicConfig.Entries;
 }
示例#2
0
 public CourseSelect()
 {
     InitializeComponent();
     CourseList  = CTGP7CourseList.Instance;
     NameEntries = new Dictionary <CTGP7CourseList.NameEntry.CourseType, List <CTGP7CourseList.NameEntry> >();
     NameEntries.Add(CTGP7CourseList.NameEntry.CourseType.OriginalRace, new List <CTGP7CourseList.NameEntry>());
     NameEntries.Add(CTGP7CourseList.NameEntry.CourseType.CustomRace, new List <CTGP7CourseList.NameEntry>());
     NameEntries.Add(CTGP7CourseList.NameEntry.CourseType.OriginalBattle, new List <CTGP7CourseList.NameEntry>());
 }
示例#3
0
 public CMSNViewer(CMSN cmsn)
 {
     MissionData    = cmsn;
     TranslateTable = CTGP7CourseList.Instance;
     InitializeComponent();
     DriverPartPreviews = new PartPreview[][] {
         new PartPreview[] { playerDriver, playerBody, playerTire, playerGlider },
         new PartPreview[] { cpu1Driver, cpu1Body, cpu1Tire, cpu1Glider },
         new PartPreview[] { cpu2Driver, cpu2Body, cpu2Tire, cpu2Glider },
         new PartPreview[] { cpu3Driver, cpu3Body, cpu3Tire, cpu3Glider },
         new PartPreview[] { cpu4Driver, cpu4Body, cpu4Tire, cpu4Glider },
         new PartPreview[] { cpu5Driver, cpu5Body, cpu5Tire, cpu5Glider },
         new PartPreview[] { cpu6Driver, cpu6Body, cpu6Tire, cpu6Glider },
         new PartPreview[] { cpu7Driver, cpu7Body, cpu7Tire, cpu7Glider },
     };
     ItemNames = new List <string>()
     {
         "Banana", "Green Shell", "Red Shell", "Mushroom",
         "Bob-omb", "Blooper", "Blue Shell", "Triple Mushrooms",
         "Star", "Bullet Bill", "Lightning", "Golden Mushroom",
         "Fire Flower", "Super Leaf", "Lucky Seven", "Test3",
         "Test4", "Triple Banana", "Triple Green Shells", "Triple Red Shells"
     };
 }
 private void menuItem2_Click(object sender, EventArgs e)
 {
     CTGP7CourseList.DownloadFromInternet(false);
 }