问题从 3 周开始。我正在使用 Visual Studio 构建项目,并且使用了 Visual Basic。我没有任何错误地保存了项目,但是当我再次重新打开项目时,我无法看到表单并收到 6 个错误和 3 条消息。
我正在使用主题并且主题没有任何错误,因为我使用它没有任何问题并且所有人都使用它。他们称之为主题(YouTube Theme)
错误:
消息 1
Could not find type 'YouTube_Downloader.YTTheme'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
0 0
消息 2
Could not find type 'YouTube_Downloader.YTButton'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
0 0
消息 3
The variable 'YtTheme1' is either undeclared or was never assigned. C:\Users\Home\documents\visual studio 2012\Projects\YouTube Downloader\YouTube Downloader\AboutBox.Designer.vb 107 0
错误 4
Unable to open module file 'C:\Users\Home\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.vb': System Error &H80070002& C:\Users\Home\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.vb 1 1 YouTube Downloader
错误 5
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\Users\Home\documents\visual studio 2012\Projects\YouTube Downloader\YouTube Downloader\YouTubeDownloader.vb 18 73 YouTube Downloader
错误 6
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\Users\Home\documents\visual studio 2012\Projects\YouTube Downloader\YouTube Downloader\YouTubeDownloader.vb 24 73 YouTube Downloader
错误 7
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\Users\Home\documents\visual studio 2012\Projects\YouTube Downloader\YouTube Downloader\YouTubeDownloader.vb 28 73 YouTube Downloader
错误 8
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\Users\Home\documents\visual studio 2012\Projects\YouTube Downloader\YouTube Downloader\YouTubeDownloader.vb 32 75 YouTube Downloader
错误 9
Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\Users\Home\documents\visual studio 2012\Projects\YouTube Downloader\YouTube Downloader\YouTubeDownloader.vb 74 75 YouTube Downloader
当我打开项目时,它没有显示表单设计我为我的问题添加了图片 [URL=http://imageshack.us/photo/my-images/7/9gam.png/][IMG]http://img7 .imageshack.us/img7/457/9gam.png[/IMG][/URL]
http://img7.imageshack.us/img7/457/9gam.png
请帮忙 !!
问题没有出现,当我使用(Ghost Theme)时出现问题,它给了我 25 个错误和 1 个警告。
错误:
错误 1
Option Strict On disallows implicit conversions from 'Integer' to 'UInteger'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 1909 34 GhostTheme
错误 2
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2216 75 GhostTheme
错误 3
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2226 75 GhostTheme
错误 4
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2236 75 GhostTheme
错误 5
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2313 91 GhostTheme
错误 6
Option Strict On disallows implicit conversions from 'Single' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2363 20 GhostTheme
错误 7
Option Strict On disallows implicit conversions from 'System.Drawing.Point' to 'System.Drawing.Size'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2419 19 GhostTheme
错误 8
Option Strict On disallows implicit conversions from 'Single' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2475 20 GhostTheme
错误 9
Option Strict On disallows implicit conversions from 'System.Drawing.Point' to 'System.Drawing.Size'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2512 19 GhostTheme
错误 10
Option Strict On disallows implicit conversions from 'Single' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2538 33 GhostTheme
错误 11
Option Strict On disallows implicit conversions from 'Single' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2574 107 GhostTheme
错误 12
Option Strict On disallows implicit conversions from 'Single' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2585 28 GhostTheme
错误 13
Option Strict On disallows implicit conversions from 'Single' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2587 13 GhostTheme
错误 14
Option Strict On disallows implicit conversions from 'Object' to 'System.Drawing.Image'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2601 30 GhostTheme
警告 15
property 'ForeColor' shadows an overridable method in the base class 'TabControl'. To override the base method, this method must be declared 'Overrides'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2614 21 GhostTheme
错误 16
Option Strict On disallows implicit conversions from 'Object' to 'System.Drawing.Image'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2689 30 GhostTheme
错误 17
Option Strict On disallows implicit conversions from 'Object' to 'String'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2714 20 GhostTheme
错误 18
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2754 81 GhostTheme
错误 19
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2805 85 GhostTheme
错误 20
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2858 103 GhostTheme
错误 21
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2859 67 GhostTheme
错误 22
Option Strict On disallows implicit conversions from 'Single' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2864 29 GhostTheme
错误 23
Option Strict On disallows implicit conversions from 'Object' to 'String'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2866 26 GhostTheme
错误 24
Option Strict On disallows implicit conversions from 'Object' to 'String'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2869 30 GhostTheme
错误 25
Option Strict On disallows implicit conversions from 'Object' to 'System.Drawing.Image'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2890 30 GhostTheme
错误 26
Option Strict On disallows implicit conversions from 'Double' to 'Integer'. C:\Users\Home\AppData\Local\Temporary Projects\GhostTheme\Class1.vb 2906 81 GhostTheme
我也添加了图片。
http://im36.gulfup.com/0OcH9.bmp
[url=http://www.gulfup.com/?0RKgoK][img]http://im36.gulfup.com/0OcH9.bmp[/img][/url]