mirror of
https://github.com/WB3000/nusdownloader.git
synced 2024-11-17 07:09:21 +01:00
MouseWheel scrolling in database lists.
This commit is contained in:
parent
1f14032ca7
commit
2170d807ee
84
NUS Downloader/Form1.Designer.cs
generated
84
NUS Downloader/Form1.Designer.cs
generated
@ -184,6 +184,7 @@ namespace NUS_Downloader
|
|||||||
//
|
//
|
||||||
// databaseStrip
|
// databaseStrip
|
||||||
//
|
//
|
||||||
|
this.databaseStrip.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.databaseStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.databaseStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.SystemMenuList,
|
this.SystemMenuList,
|
||||||
this.systemFakeMenuItem,
|
this.systemFakeMenuItem,
|
||||||
@ -199,34 +200,34 @@ namespace NUS_Downloader
|
|||||||
this.updateDatabaseToolStripMenuItem});
|
this.updateDatabaseToolStripMenuItem});
|
||||||
this.databaseStrip.Name = "databaseStrip";
|
this.databaseStrip.Name = "databaseStrip";
|
||||||
this.databaseStrip.ShowItemToolTips = false;
|
this.databaseStrip.ShowItemToolTips = false;
|
||||||
this.databaseStrip.Size = new System.Drawing.Size(164, 236);
|
this.databaseStrip.Size = new System.Drawing.Size(159, 236);
|
||||||
//
|
//
|
||||||
// SystemMenuList
|
// SystemMenuList
|
||||||
//
|
//
|
||||||
this.SystemMenuList.AutoSize = false;
|
this.SystemMenuList.AutoSize = false;
|
||||||
this.SystemMenuList.Name = "SystemMenuList";
|
this.SystemMenuList.Name = "SystemMenuList";
|
||||||
this.SystemMenuList.Size = new System.Drawing.Size(154, 22);
|
this.SystemMenuList.Size = new System.Drawing.Size(158, 22);
|
||||||
this.SystemMenuList.Text = "System";
|
this.SystemMenuList.Text = "System";
|
||||||
//
|
//
|
||||||
// systemFakeMenuItem
|
// systemFakeMenuItem
|
||||||
//
|
//
|
||||||
this.systemFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
this.systemFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
||||||
this.systemFakeMenuItem.Name = "systemFakeMenuItem";
|
this.systemFakeMenuItem.Name = "systemFakeMenuItem";
|
||||||
this.systemFakeMenuItem.Size = new System.Drawing.Size(163, 22);
|
this.systemFakeMenuItem.Size = new System.Drawing.Size(158, 22);
|
||||||
this.systemFakeMenuItem.Text = "System";
|
this.systemFakeMenuItem.Text = "System";
|
||||||
this.systemFakeMenuItem.Visible = false;
|
this.systemFakeMenuItem.Visible = false;
|
||||||
//
|
//
|
||||||
// IOSMenuList
|
// IOSMenuList
|
||||||
//
|
//
|
||||||
this.IOSMenuList.Name = "IOSMenuList";
|
this.IOSMenuList.Name = "IOSMenuList";
|
||||||
this.IOSMenuList.Size = new System.Drawing.Size(163, 22);
|
this.IOSMenuList.Size = new System.Drawing.Size(158, 22);
|
||||||
this.IOSMenuList.Text = "IOS";
|
this.IOSMenuList.Text = "IOS";
|
||||||
//
|
//
|
||||||
// iosFakeMenuItem
|
// iosFakeMenuItem
|
||||||
//
|
//
|
||||||
this.iosFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
this.iosFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
||||||
this.iosFakeMenuItem.Name = "iosFakeMenuItem";
|
this.iosFakeMenuItem.Name = "iosFakeMenuItem";
|
||||||
this.iosFakeMenuItem.Size = new System.Drawing.Size(163, 22);
|
this.iosFakeMenuItem.Size = new System.Drawing.Size(158, 22);
|
||||||
this.iosFakeMenuItem.Text = "IOS";
|
this.iosFakeMenuItem.Text = "IOS";
|
||||||
this.iosFakeMenuItem.Visible = false;
|
this.iosFakeMenuItem.Visible = false;
|
||||||
//
|
//
|
||||||
@ -245,125 +246,126 @@ namespace NUS_Downloader
|
|||||||
this.TurboGrafxCDMenuList,
|
this.TurboGrafxCDMenuList,
|
||||||
this.VCArcadeMenuList});
|
this.VCArcadeMenuList});
|
||||||
this.VCMenuList.Name = "VCMenuList";
|
this.VCMenuList.Name = "VCMenuList";
|
||||||
this.VCMenuList.Size = new System.Drawing.Size(163, 22);
|
this.VCMenuList.Size = new System.Drawing.Size(158, 22);
|
||||||
this.VCMenuList.Text = "Virtual Console";
|
this.VCMenuList.Text = "Virtual Console";
|
||||||
//
|
//
|
||||||
// C64MenuList
|
// C64MenuList
|
||||||
//
|
//
|
||||||
this.C64MenuList.Name = "C64MenuList";
|
this.C64MenuList.Name = "C64MenuList";
|
||||||
this.C64MenuList.Size = new System.Drawing.Size(194, 22);
|
this.C64MenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.C64MenuList.Text = "Commodore 64";
|
this.C64MenuList.Text = "Commodore 64";
|
||||||
//
|
//
|
||||||
// GenesisMenuList
|
// GenesisMenuList
|
||||||
//
|
//
|
||||||
this.GenesisMenuList.Name = "GenesisMenuList";
|
this.GenesisMenuList.Name = "GenesisMenuList";
|
||||||
this.GenesisMenuList.Size = new System.Drawing.Size(194, 22);
|
this.GenesisMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.GenesisMenuList.Text = "Mega Drive/Genesis";
|
this.GenesisMenuList.Text = "Mega Drive/Genesis";
|
||||||
//
|
//
|
||||||
// MSXMenuList
|
// MSXMenuList
|
||||||
//
|
//
|
||||||
this.MSXMenuList.Name = "MSXMenuList";
|
this.MSXMenuList.Name = "MSXMenuList";
|
||||||
this.MSXMenuList.Size = new System.Drawing.Size(194, 22);
|
this.MSXMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.MSXMenuList.Text = "MSX";
|
this.MSXMenuList.Text = "MSX";
|
||||||
//
|
//
|
||||||
// N64MenuList
|
// N64MenuList
|
||||||
//
|
//
|
||||||
this.N64MenuList.Name = "N64MenuList";
|
this.N64MenuList.Name = "N64MenuList";
|
||||||
this.N64MenuList.Size = new System.Drawing.Size(194, 22);
|
this.N64MenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.N64MenuList.Text = "Nintendo 64";
|
this.N64MenuList.Text = "Nintendo 64";
|
||||||
//
|
//
|
||||||
// NeoGeoMenuList
|
// NeoGeoMenuList
|
||||||
//
|
//
|
||||||
this.NeoGeoMenuList.Name = "NeoGeoMenuList";
|
this.NeoGeoMenuList.Name = "NeoGeoMenuList";
|
||||||
this.NeoGeoMenuList.Size = new System.Drawing.Size(194, 22);
|
this.NeoGeoMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.NeoGeoMenuList.Text = "NeoGeo";
|
this.NeoGeoMenuList.Text = "NeoGeo";
|
||||||
//
|
//
|
||||||
// NESMenuList
|
// NESMenuList
|
||||||
//
|
//
|
||||||
this.NESMenuList.Name = "NESMenuList";
|
this.NESMenuList.Name = "NESMenuList";
|
||||||
this.NESMenuList.Size = new System.Drawing.Size(194, 22);
|
this.NESMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.NESMenuList.Text = "NES";
|
this.NESMenuList.Text = "NES";
|
||||||
//
|
//
|
||||||
// SegaMSMenuList
|
// SegaMSMenuList
|
||||||
//
|
//
|
||||||
this.SegaMSMenuList.Name = "SegaMSMenuList";
|
this.SegaMSMenuList.Name = "SegaMSMenuList";
|
||||||
this.SegaMSMenuList.Size = new System.Drawing.Size(194, 22);
|
this.SegaMSMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.SegaMSMenuList.Text = "Sega Master System";
|
this.SegaMSMenuList.Text = "Sega Master System";
|
||||||
//
|
//
|
||||||
// SNESMenuList
|
// SNESMenuList
|
||||||
//
|
//
|
||||||
this.SNESMenuList.Name = "SNESMenuList";
|
this.SNESMenuList.Name = "SNESMenuList";
|
||||||
this.SNESMenuList.Size = new System.Drawing.Size(194, 22);
|
this.SNESMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.SNESMenuList.Text = "SNES";
|
this.SNESMenuList.Text = "SNES";
|
||||||
//
|
//
|
||||||
// TurboGrafx16MenuList
|
// TurboGrafx16MenuList
|
||||||
//
|
//
|
||||||
this.TurboGrafx16MenuList.Name = "TurboGrafx16MenuList";
|
this.TurboGrafx16MenuList.Name = "TurboGrafx16MenuList";
|
||||||
this.TurboGrafx16MenuList.Size = new System.Drawing.Size(194, 22);
|
this.TurboGrafx16MenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.TurboGrafx16MenuList.Text = "TruboGrafx-16";
|
this.TurboGrafx16MenuList.Text = "TruboGrafx-16";
|
||||||
//
|
//
|
||||||
// TurboGrafxCDMenuList
|
// TurboGrafxCDMenuList
|
||||||
//
|
//
|
||||||
this.TurboGrafxCDMenuList.Name = "TurboGrafxCDMenuList";
|
this.TurboGrafxCDMenuList.Name = "TurboGrafxCDMenuList";
|
||||||
this.TurboGrafxCDMenuList.Size = new System.Drawing.Size(194, 22);
|
this.TurboGrafxCDMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.TurboGrafxCDMenuList.Text = "TurboGrafx-CD";
|
this.TurboGrafxCDMenuList.Text = "TurboGrafx-CD";
|
||||||
//
|
//
|
||||||
// VCArcadeMenuList
|
// VCArcadeMenuList
|
||||||
//
|
//
|
||||||
this.VCArcadeMenuList.Name = "VCArcadeMenuList";
|
this.VCArcadeMenuList.Name = "VCArcadeMenuList";
|
||||||
this.VCArcadeMenuList.Size = new System.Drawing.Size(194, 22);
|
this.VCArcadeMenuList.Size = new System.Drawing.Size(182, 22);
|
||||||
this.VCArcadeMenuList.Text = "Virtual Console Arcade";
|
this.VCArcadeMenuList.Text = "Virtual Console Arcade";
|
||||||
//
|
//
|
||||||
// vcFakeMenuItem
|
// vcFakeMenuItem
|
||||||
//
|
//
|
||||||
this.vcFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
this.vcFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
||||||
this.vcFakeMenuItem.Name = "vcFakeMenuItem";
|
this.vcFakeMenuItem.Name = "vcFakeMenuItem";
|
||||||
this.vcFakeMenuItem.Size = new System.Drawing.Size(163, 22);
|
this.vcFakeMenuItem.Size = new System.Drawing.Size(158, 22);
|
||||||
this.vcFakeMenuItem.Text = "Virtual Console";
|
this.vcFakeMenuItem.Text = "Virtual Console";
|
||||||
this.vcFakeMenuItem.Visible = false;
|
this.vcFakeMenuItem.Visible = false;
|
||||||
//
|
//
|
||||||
// WiiWareMenuList
|
// WiiWareMenuList
|
||||||
//
|
//
|
||||||
this.WiiWareMenuList.Name = "WiiWareMenuList";
|
this.WiiWareMenuList.Name = "WiiWareMenuList";
|
||||||
this.WiiWareMenuList.Size = new System.Drawing.Size(163, 22);
|
this.WiiWareMenuList.Size = new System.Drawing.Size(158, 22);
|
||||||
this.WiiWareMenuList.Text = "WiiWare";
|
this.WiiWareMenuList.Text = "WiiWare";
|
||||||
//
|
//
|
||||||
// wwFakeMenuItem
|
// wwFakeMenuItem
|
||||||
//
|
//
|
||||||
this.wwFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
this.wwFakeMenuItem.Image = global::NUS_Downloader.Properties.Resources.arrow_ticker;
|
||||||
this.wwFakeMenuItem.Name = "wwFakeMenuItem";
|
this.wwFakeMenuItem.Name = "wwFakeMenuItem";
|
||||||
this.wwFakeMenuItem.Size = new System.Drawing.Size(163, 22);
|
this.wwFakeMenuItem.Size = new System.Drawing.Size(158, 22);
|
||||||
this.wwFakeMenuItem.Text = "WiiWare";
|
this.wwFakeMenuItem.Text = "WiiWare";
|
||||||
this.wwFakeMenuItem.Visible = false;
|
this.wwFakeMenuItem.Visible = false;
|
||||||
//
|
//
|
||||||
// toolStripSeparator1
|
// toolStripSeparator1
|
||||||
//
|
//
|
||||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||||
this.toolStripSeparator1.Size = new System.Drawing.Size(160, 6);
|
this.toolStripSeparator1.Size = new System.Drawing.Size(155, 6);
|
||||||
//
|
//
|
||||||
// RegionCodesList
|
// RegionCodesList
|
||||||
//
|
//
|
||||||
this.RegionCodesList.Name = "RegionCodesList";
|
this.RegionCodesList.Name = "RegionCodesList";
|
||||||
this.RegionCodesList.Size = new System.Drawing.Size(163, 22);
|
this.RegionCodesList.Size = new System.Drawing.Size(158, 22);
|
||||||
this.RegionCodesList.Text = "Region Codes";
|
this.RegionCodesList.Text = "Region Codes";
|
||||||
this.RegionCodesList.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.RegionCodesList_DropDownItemClicked);
|
this.RegionCodesList.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.RegionCodesList_DropDownItemClicked);
|
||||||
//
|
//
|
||||||
// toolStripSeparator4
|
// toolStripSeparator4
|
||||||
//
|
//
|
||||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||||
this.toolStripSeparator4.Size = new System.Drawing.Size(160, 6);
|
this.toolStripSeparator4.Size = new System.Drawing.Size(155, 6);
|
||||||
//
|
//
|
||||||
// updateDatabaseToolStripMenuItem
|
// updateDatabaseToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.updateDatabaseToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.database_save;
|
this.updateDatabaseToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.database_save;
|
||||||
this.updateDatabaseToolStripMenuItem.Name = "updateDatabaseToolStripMenuItem";
|
this.updateDatabaseToolStripMenuItem.Name = "updateDatabaseToolStripMenuItem";
|
||||||
this.updateDatabaseToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
|
this.updateDatabaseToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
|
||||||
this.updateDatabaseToolStripMenuItem.Text = "Update Database";
|
this.updateDatabaseToolStripMenuItem.Text = "Update Database";
|
||||||
this.updateDatabaseToolStripMenuItem.Click += new System.EventHandler(this.updateDatabaseToolStripMenuItem_Click);
|
this.updateDatabaseToolStripMenuItem.Click += new System.EventHandler(this.updateDatabaseToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// extrasStrip
|
// extrasStrip
|
||||||
//
|
//
|
||||||
this.extrasStrip.AllowMerge = false;
|
this.extrasStrip.AllowMerge = false;
|
||||||
|
this.extrasStrip.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.extrasStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.extrasStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.loadInfoFromTMDToolStripMenuItem,
|
this.loadInfoFromTMDToolStripMenuItem,
|
||||||
this.toolStripSeparator3,
|
this.toolStripSeparator3,
|
||||||
@ -371,39 +373,39 @@ namespace NUS_Downloader
|
|||||||
this.toolStripSeparator6,
|
this.toolStripSeparator6,
|
||||||
this.aboutNUSDToolStripMenuItem});
|
this.aboutNUSDToolStripMenuItem});
|
||||||
this.extrasStrip.Name = "extrasStrip";
|
this.extrasStrip.Name = "extrasStrip";
|
||||||
this.extrasStrip.Size = new System.Drawing.Size(183, 82);
|
this.extrasStrip.Size = new System.Drawing.Size(170, 82);
|
||||||
//
|
//
|
||||||
// loadInfoFromTMDToolStripMenuItem
|
// loadInfoFromTMDToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.loadInfoFromTMDToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.page_white_magnify;
|
this.loadInfoFromTMDToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.page_white_magnify;
|
||||||
this.loadInfoFromTMDToolStripMenuItem.Name = "loadInfoFromTMDToolStripMenuItem";
|
this.loadInfoFromTMDToolStripMenuItem.Name = "loadInfoFromTMDToolStripMenuItem";
|
||||||
this.loadInfoFromTMDToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
|
this.loadInfoFromTMDToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
|
||||||
this.loadInfoFromTMDToolStripMenuItem.Text = "Load Info from TMD";
|
this.loadInfoFromTMDToolStripMenuItem.Text = "Load Info from TMD";
|
||||||
this.loadInfoFromTMDToolStripMenuItem.Click += new System.EventHandler(this.loadInfoFromTMDToolStripMenuItem_Click);
|
this.loadInfoFromTMDToolStripMenuItem.Click += new System.EventHandler(this.loadInfoFromTMDToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator3
|
// toolStripSeparator3
|
||||||
//
|
//
|
||||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||||
this.toolStripSeparator3.Size = new System.Drawing.Size(179, 6);
|
this.toolStripSeparator3.Size = new System.Drawing.Size(166, 6);
|
||||||
//
|
//
|
||||||
// proxySettingsToolStripMenuItem
|
// proxySettingsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.proxySettingsToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.server_link;
|
this.proxySettingsToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.server_link;
|
||||||
this.proxySettingsToolStripMenuItem.Name = "proxySettingsToolStripMenuItem";
|
this.proxySettingsToolStripMenuItem.Name = "proxySettingsToolStripMenuItem";
|
||||||
this.proxySettingsToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
|
this.proxySettingsToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
|
||||||
this.proxySettingsToolStripMenuItem.Text = "Proxy Settings";
|
this.proxySettingsToolStripMenuItem.Text = "Proxy Settings";
|
||||||
this.proxySettingsToolStripMenuItem.Click += new System.EventHandler(this.proxySettingsToolStripMenuItem_Click);
|
this.proxySettingsToolStripMenuItem.Click += new System.EventHandler(this.proxySettingsToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator6
|
// toolStripSeparator6
|
||||||
//
|
//
|
||||||
this.toolStripSeparator6.Name = "toolStripSeparator6";
|
this.toolStripSeparator6.Name = "toolStripSeparator6";
|
||||||
this.toolStripSeparator6.Size = new System.Drawing.Size(179, 6);
|
this.toolStripSeparator6.Size = new System.Drawing.Size(166, 6);
|
||||||
//
|
//
|
||||||
// aboutNUSDToolStripMenuItem
|
// aboutNUSDToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.aboutNUSDToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.information;
|
this.aboutNUSDToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.information;
|
||||||
this.aboutNUSDToolStripMenuItem.Name = "aboutNUSDToolStripMenuItem";
|
this.aboutNUSDToolStripMenuItem.Name = "aboutNUSDToolStripMenuItem";
|
||||||
this.aboutNUSDToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
|
this.aboutNUSDToolStripMenuItem.Size = new System.Drawing.Size(169, 22);
|
||||||
this.aboutNUSDToolStripMenuItem.Text = "About NUSD";
|
this.aboutNUSDToolStripMenuItem.Text = "About NUSD";
|
||||||
this.aboutNUSDToolStripMenuItem.Click += new System.EventHandler(this.aboutNUSDToolStripMenuItem_Click);
|
this.aboutNUSDToolStripMenuItem.Click += new System.EventHandler(this.aboutNUSDToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
@ -576,6 +578,7 @@ namespace NUS_Downloader
|
|||||||
//
|
//
|
||||||
// scriptsStrip
|
// scriptsStrip
|
||||||
//
|
//
|
||||||
|
this.scriptsStrip.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.scriptsStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.scriptsStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.scriptsLocalMenuEntry,
|
this.scriptsLocalMenuEntry,
|
||||||
this.scriptsDatabaseToolStripMenuItem,
|
this.scriptsDatabaseToolStripMenuItem,
|
||||||
@ -584,7 +587,7 @@ namespace NUS_Downloader
|
|||||||
this.emulateUpdate});
|
this.emulateUpdate});
|
||||||
this.scriptsStrip.Name = "scriptsStrip";
|
this.scriptsStrip.Name = "scriptsStrip";
|
||||||
this.scriptsStrip.ShowItemToolTips = false;
|
this.scriptsStrip.ShowItemToolTips = false;
|
||||||
this.scriptsStrip.Size = new System.Drawing.Size(220, 120);
|
this.scriptsStrip.Size = new System.Drawing.Size(206, 98);
|
||||||
//
|
//
|
||||||
// scriptsLocalMenuEntry
|
// scriptsLocalMenuEntry
|
||||||
//
|
//
|
||||||
@ -592,7 +595,7 @@ namespace NUS_Downloader
|
|||||||
this.scriptsLocalMenuEntry.Image = global::NUS_Downloader.Properties.Resources.script_code;
|
this.scriptsLocalMenuEntry.Image = global::NUS_Downloader.Properties.Resources.script_code;
|
||||||
this.scriptsLocalMenuEntry.Name = "scriptsLocalMenuEntry";
|
this.scriptsLocalMenuEntry.Name = "scriptsLocalMenuEntry";
|
||||||
this.scriptsLocalMenuEntry.Overflow = System.Windows.Forms.ToolStripItemOverflow.AsNeeded;
|
this.scriptsLocalMenuEntry.Overflow = System.Windows.Forms.ToolStripItemOverflow.AsNeeded;
|
||||||
this.scriptsLocalMenuEntry.Size = new System.Drawing.Size(219, 22);
|
this.scriptsLocalMenuEntry.Size = new System.Drawing.Size(205, 22);
|
||||||
this.scriptsLocalMenuEntry.Text = "Scripts (Local)";
|
this.scriptsLocalMenuEntry.Text = "Scripts (Local)";
|
||||||
//
|
//
|
||||||
// scriptsDatabaseToolStripMenuItem
|
// scriptsDatabaseToolStripMenuItem
|
||||||
@ -600,21 +603,21 @@ namespace NUS_Downloader
|
|||||||
this.scriptsDatabaseToolStripMenuItem.Enabled = false;
|
this.scriptsDatabaseToolStripMenuItem.Enabled = false;
|
||||||
this.scriptsDatabaseToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.script_code_red;
|
this.scriptsDatabaseToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.script_code_red;
|
||||||
this.scriptsDatabaseToolStripMenuItem.Name = "scriptsDatabaseToolStripMenuItem";
|
this.scriptsDatabaseToolStripMenuItem.Name = "scriptsDatabaseToolStripMenuItem";
|
||||||
this.scriptsDatabaseToolStripMenuItem.Size = new System.Drawing.Size(219, 22);
|
this.scriptsDatabaseToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
|
||||||
this.scriptsDatabaseToolStripMenuItem.Text = "Scripts (Database)";
|
this.scriptsDatabaseToolStripMenuItem.Text = "Scripts (Database)";
|
||||||
//
|
//
|
||||||
// loadNUSScriptToolStripMenuItem
|
// loadNUSScriptToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.loadNUSScriptToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.script_go;
|
this.loadNUSScriptToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.script_go;
|
||||||
this.loadNUSScriptToolStripMenuItem.Name = "loadNUSScriptToolStripMenuItem";
|
this.loadNUSScriptToolStripMenuItem.Name = "loadNUSScriptToolStripMenuItem";
|
||||||
this.loadNUSScriptToolStripMenuItem.Size = new System.Drawing.Size(219, 22);
|
this.loadNUSScriptToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
|
||||||
this.loadNUSScriptToolStripMenuItem.Text = "Load NUS Script";
|
this.loadNUSScriptToolStripMenuItem.Text = "Load NUS Script";
|
||||||
this.loadNUSScriptToolStripMenuItem.Click += new System.EventHandler(this.loadNUSScriptToolStripMenuItem_Click);
|
this.loadNUSScriptToolStripMenuItem.Click += new System.EventHandler(this.loadNUSScriptToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripSeparator2
|
// toolStripSeparator2
|
||||||
//
|
//
|
||||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||||
this.toolStripSeparator2.Size = new System.Drawing.Size(216, 6);
|
this.toolStripSeparator2.Size = new System.Drawing.Size(202, 6);
|
||||||
//
|
//
|
||||||
// emulateUpdate
|
// emulateUpdate
|
||||||
//
|
//
|
||||||
@ -625,32 +628,32 @@ namespace NUS_Downloader
|
|||||||
this.koreaToolStripMenuItem});
|
this.koreaToolStripMenuItem});
|
||||||
this.emulateUpdate.Image = global::NUS_Downloader.Properties.Resources.server_connect;
|
this.emulateUpdate.Image = global::NUS_Downloader.Properties.Resources.server_connect;
|
||||||
this.emulateUpdate.Name = "emulateUpdate";
|
this.emulateUpdate.Name = "emulateUpdate";
|
||||||
this.emulateUpdate.Size = new System.Drawing.Size(219, 22);
|
this.emulateUpdate.Size = new System.Drawing.Size(205, 22);
|
||||||
this.emulateUpdate.Text = "Emulate Wii System Update";
|
this.emulateUpdate.Text = "Emulate Wii System Update";
|
||||||
this.emulateUpdate.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.emulateUpdate_DropDownItemClicked);
|
this.emulateUpdate.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.emulateUpdate_DropDownItemClicked);
|
||||||
//
|
//
|
||||||
// uSANTSCToolStripMenuItem
|
// uSANTSCToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.uSANTSCToolStripMenuItem.Name = "uSANTSCToolStripMenuItem";
|
this.uSANTSCToolStripMenuItem.Name = "uSANTSCToolStripMenuItem";
|
||||||
this.uSANTSCToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
this.uSANTSCToolStripMenuItem.Size = new System.Drawing.Size(114, 22);
|
||||||
this.uSANTSCToolStripMenuItem.Text = "USA";
|
this.uSANTSCToolStripMenuItem.Text = "USA";
|
||||||
//
|
//
|
||||||
// europePALToolStripMenuItem
|
// europePALToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.europePALToolStripMenuItem.Name = "europePALToolStripMenuItem";
|
this.europePALToolStripMenuItem.Name = "europePALToolStripMenuItem";
|
||||||
this.europePALToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
this.europePALToolStripMenuItem.Size = new System.Drawing.Size(114, 22);
|
||||||
this.europePALToolStripMenuItem.Text = "EUROPE";
|
this.europePALToolStripMenuItem.Text = "EUROPE";
|
||||||
//
|
//
|
||||||
// japanNTSCJToolStripMenuItem
|
// japanNTSCJToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.japanNTSCJToolStripMenuItem.Name = "japanNTSCJToolStripMenuItem";
|
this.japanNTSCJToolStripMenuItem.Name = "japanNTSCJToolStripMenuItem";
|
||||||
this.japanNTSCJToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
this.japanNTSCJToolStripMenuItem.Size = new System.Drawing.Size(114, 22);
|
||||||
this.japanNTSCJToolStripMenuItem.Text = "JAPAN";
|
this.japanNTSCJToolStripMenuItem.Text = "JAPAN";
|
||||||
//
|
//
|
||||||
// koreaToolStripMenuItem
|
// koreaToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.koreaToolStripMenuItem.Name = "koreaToolStripMenuItem";
|
this.koreaToolStripMenuItem.Name = "koreaToolStripMenuItem";
|
||||||
this.koreaToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
this.koreaToolStripMenuItem.Size = new System.Drawing.Size(114, 22);
|
||||||
this.koreaToolStripMenuItem.Text = "KOREA";
|
this.koreaToolStripMenuItem.Text = "KOREA";
|
||||||
//
|
//
|
||||||
// iosPatchGroupBox
|
// iosPatchGroupBox
|
||||||
@ -902,6 +905,7 @@ namespace NUS_Downloader
|
|||||||
this.Text = "NUSD";
|
this.Text = "NUSD";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
||||||
this.Load += new System.EventHandler(this.Form1_Load);
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.MouseWheel += new System.Windows.Forms.MouseEventHandler(Form1_MouseWheel);
|
||||||
this.databaseStrip.ResumeLayout(false);
|
this.databaseStrip.ResumeLayout(false);
|
||||||
this.extrasStrip.ResumeLayout(false);
|
this.extrasStrip.ResumeLayout(false);
|
||||||
this.proxyBox.ResumeLayout(false);
|
this.proxyBox.ResumeLayout(false);
|
||||||
|
@ -1088,95 +1088,6 @@ namespace NUS_Downloader
|
|||||||
}
|
}
|
||||||
|
|
||||||
menulist.DropDownItems.Add(additionitem);
|
menulist.DropDownItems.Add(additionitem);
|
||||||
|
|
||||||
/*
|
|
||||||
// Deal with VC list depth...
|
|
||||||
if (type == 2)
|
|
||||||
{
|
|
||||||
Debug.WriteLine("Adding:");
|
|
||||||
Debug.WriteLine(additionitem);
|
|
||||||
switch (attributes[0].Value)
|
|
||||||
{
|
|
||||||
case "C64":
|
|
||||||
C64MenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "NEO":
|
|
||||||
NeoGeoMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "NES":
|
|
||||||
NESMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "SNES":
|
|
||||||
SNESMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "N64":
|
|
||||||
N64MenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "TG16":
|
|
||||||
TurboGrafx16MenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "TGCD":
|
|
||||||
TurboGrafxCDMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "MSX":
|
|
||||||
MSXMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "SMS":
|
|
||||||
SegaMSMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "GEN":
|
|
||||||
GenesisMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case "ARC":
|
|
||||||
VCArcadeMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
additionitem.DropDownItemClicked += new ToolStripItemClickedEventHandler(wwitem_regionclicked);
|
|
||||||
}
|
|
||||||
else if (type == 4)
|
|
||||||
{
|
|
||||||
// I am a brand new combine harvester
|
|
||||||
//MassUpdateList.DropDownItems.Add(additionitem);
|
|
||||||
switch (attributes[0].Value)
|
|
||||||
{
|
|
||||||
case "KOR":
|
|
||||||
KoreaMassUpdate.DropDownItems.Add(additionitem);
|
|
||||||
KoreaMassUpdate.Enabled = true;
|
|
||||||
break;
|
|
||||||
case "PAL":
|
|
||||||
PALMassUpdate.DropDownItems.Add(additionitem);
|
|
||||||
PALMassUpdate.Enabled = true;
|
|
||||||
break;
|
|
||||||
case "NTSC":
|
|
||||||
NTSCMassUpdate.DropDownItems.Add(additionitem);
|
|
||||||
NTSCMassUpdate.Enabled = true;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
Debug.WriteLine("Oops - database error");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Add SYS, IOS, WW items
|
|
||||||
// I thought using index would work in .Items, but I
|
|
||||||
// guess this switch will have to do...
|
|
||||||
switch (type)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
SystemMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
IOSMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
WiiWareMenuList.DropDownItems.Add(additionitem);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
additionitem.DropDownItemClicked += new ToolStripItemClickedEventHandler(sysitem_versionclicked);
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -2084,7 +1995,13 @@ namespace NUS_Downloader
|
|||||||
/// <param name="e">The <see cref="System.ComponentModel.DoWorkEventArgs"/> instance containing the event data.</param>
|
/// <param name="e">The <see cref="System.ComponentModel.DoWorkEventArgs"/> instance containing the event data.</param>
|
||||||
private void RunScriptBg(object sender, System.ComponentModel.DoWorkEventArgs e)
|
private void RunScriptBg(object sender, System.ComponentModel.DoWorkEventArgs e)
|
||||||
{
|
{
|
||||||
RunScript(e.Argument.ToString());
|
char ArgsSplitChar = ';';
|
||||||
|
string[] scriptArgs = e.Argument.ToString().Split(ArgsSplitChar);
|
||||||
|
|
||||||
|
if (scriptArgs.Length < 2)
|
||||||
|
RunScript(scriptArgs[0], "random");
|
||||||
|
else
|
||||||
|
RunScript(scriptArgs[0], scriptArgs[1]);
|
||||||
/*
|
/*
|
||||||
script_mode = true;
|
script_mode = true;
|
||||||
SetTextThreadSafe(statusbox, "");
|
SetTextThreadSafe(statusbox, "");
|
||||||
@ -2531,12 +2448,17 @@ namespace NUS_Downloader
|
|||||||
WriteStatus(" - Operation complete!");
|
WriteStatus(" - Operation complete!");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RunScript(string scriptstr)
|
private void RunScript(string scriptstr, string scriptname)
|
||||||
{
|
{
|
||||||
// Form and folder stuffs
|
// Form and folder stuffs
|
||||||
SetTextThreadSafe(statusbox, "");
|
SetTextThreadSafe(statusbox, "");
|
||||||
WriteStatus("Starting script download. Please be patient!");
|
WriteStatus("Starting script download. Please be patient!");
|
||||||
string scriptdir = Path.Combine(Path.Combine(CURRENT_DIR, "scripts"), RandomString(7) + "_output"); //TODO: Nonrandom naming
|
string scriptdir;
|
||||||
|
if (scriptname == "random")
|
||||||
|
scriptdir = Path.Combine(Path.Combine(CURRENT_DIR, "scripts"), RandomString(7) + "_output");
|
||||||
|
else
|
||||||
|
scriptdir = Path.Combine(Path.Combine(CURRENT_DIR, "scripts"), scriptname + "_output");
|
||||||
|
|
||||||
if (!File.Exists(scriptdir))
|
if (!File.Exists(scriptdir))
|
||||||
Directory.CreateDirectory(scriptdir);
|
Directory.CreateDirectory(scriptdir);
|
||||||
|
|
||||||
@ -2600,7 +2522,40 @@ namespace NUS_Downloader
|
|||||||
buffer[i] = _chars[_rng.Next(_chars.Length)];
|
buffer[i] = _chars[_rng.Next(_chars.Length)];
|
||||||
}
|
}
|
||||||
return new string(buffer);
|
return new string(buffer);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Form1_MouseWheel(object sender, System.Windows.Forms.MouseEventArgs e)
|
||||||
|
{
|
||||||
|
Debug.WriteLine("Delta: " + e.Delta.ToString());
|
||||||
|
|
||||||
|
if (SystemMenuList.DropDown.DisplayRectangle.Contains(e.Location) || SystemMenuList.DropDown.Bounds.Contains(e.Location))
|
||||||
|
{
|
||||||
|
if (e.Delta > 0)
|
||||||
|
System.Windows.Forms.SendKeys.Send("{UP}");
|
||||||
|
else
|
||||||
|
System.Windows.Forms.SendKeys.Send("{DOWN}");
|
||||||
|
//do what you want here
|
||||||
|
}
|
||||||
|
|
||||||
|
if (WiiWareMenuList.DropDown.DisplayRectangle.Contains(e.Location) || WiiWareMenuList.DropDown.Bounds.Contains(e.Location))
|
||||||
|
{
|
||||||
|
if (e.Delta > 0)
|
||||||
|
System.Windows.Forms.SendKeys.Send("{UP}");
|
||||||
|
else
|
||||||
|
System.Windows.Forms.SendKeys.Send("{DOWN}");
|
||||||
|
//do what you want here
|
||||||
|
}
|
||||||
|
|
||||||
|
if (VCMenuList.DropDown.DisplayRectangle.Contains(e.Location) || VCMenuList.DropDown.Bounds.Contains(e.Location))
|
||||||
|
{
|
||||||
|
if (e.Delta > 0)
|
||||||
|
System.Windows.Forms.SendKeys.Send("{UP}");
|
||||||
|
else
|
||||||
|
System.Windows.Forms.SendKeys.Send("{DOWN}");
|
||||||
|
//do what you want here
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user