ForwardMii 1.01

git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@8 eddbe33b-e435-4246-ac25-f5eb65f9a13c
This commit is contained in:
Leathl 2009-12-05 14:54:50 +00:00
parent de00403694
commit 3e4583a8fc
4 changed files with 27 additions and 24 deletions

View File

@ -294,7 +294,7 @@ namespace ForwardMii
private MemoryStream GetReourceStream(string theResource) private MemoryStream GetReourceStream(string theResource)
{ {
Stream thisStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("ForwardMii_Plugin.Resources.GX." + theResource); Stream thisStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("ForwardMii.Resources.GX." + theResource);
byte[] thisArray = new byte[thisStream.Length]; byte[] thisArray = new byte[thisStream.Length];
thisStream.Read(thisArray, 0, thisArray.Length); thisStream.Read(thisArray, 0, thisArray.Length);
return new MemoryStream(thisArray); return new MemoryStream(thisArray);

View File

@ -325,7 +325,7 @@ namespace ForwardMii
case 3: case 3:
case 4: case 4:
case 5: case 5:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.3CharsBase.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.3CharsBase.bin");
case 6: case 6:
case 7: case 7:
case 8: case 8:
@ -337,10 +337,10 @@ namespace ForwardMii
case 14: case 14:
case 15: case 15:
case 16: case 16:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.6CharsBase.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.6CharsBase.bin");
case 17: case 17:
case 18: case 18:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.17CharsBase.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.17CharsBase.bin");
default: default:
throw new Exception(); throw new Exception();
} }
@ -351,37 +351,37 @@ namespace ForwardMii
switch (thisAppFolder.Length) switch (thisAppFolder.Length)
{ {
case 3: case 3:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.3CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.3CharsTail.bin");
case 4: case 4:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.4CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.4CharsTail.bin");
case 5: case 5:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.5CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.5CharsTail.bin");
case 6: case 6:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.6CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.6CharsTail.bin");
case 7: case 7:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.7CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.7CharsTail.bin");
case 8: case 8:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.8CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.8CharsTail.bin");
case 9: case 9:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.9CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.9CharsTail.bin");
case 10: case 10:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.10CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.10CharsTail.bin");
case 11: case 11:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.11CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.11CharsTail.bin");
case 12: case 12:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.12CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.12CharsTail.bin");
case 13: case 13:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.13CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.13CharsTail.bin");
case 14: case 14:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.14CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.14CharsTail.bin");
case 15: case 15:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.15CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.15CharsTail.bin");
case 16: case 16:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.16CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.16CharsTail.bin");
case 17: case 17:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.17CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.17CharsTail.bin");
case 18: case 18:
return GetReourceStream("ForwardMii_Plugin.Resources.SDSDHC.18CharsTail.bin"); return GetReourceStream("ForwardMii.Resources.SDSDHC.18CharsTail.bin");
default: default:
throw new Exception(); throw new Exception();
} }

View File

@ -22,11 +22,11 @@ using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden // Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind. // die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("ForwardMii-Plugin")] [assembly: AssemblyTitle("ForwardMii")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("ForwardMii-Plugin")] [assembly: AssemblyProduct("ForwardMii")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2009")] [assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -49,5 +49,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben: // übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.1.0")]

View File

@ -11,6 +11,9 @@ the CustomizeMii project page.
----------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------
Changelog: Changelog:
Version 1.01
- Fixed bug that caused an object error while creating forwarders
Version 1.0 Version 1.0
- Initial Release - Initial Release
----------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------