No overload for 'OnStartup' matches delegate 'System.Windows.StartupEventHandler'
2013-07-02 17:40
615 查看
No overload for 'OnStartup' matches delegate 'System.Windows.StartupEventHandler'
今天wpf工程的App.xaml爆出这个问题, 明明cs理由事件处理函数OnStartUp,却无法编译。原因是App.xaml声明的类名和App.xaml.cs中的类名不同。
修改一直, 并确认Event Hanlder存在。
相关文章推荐
- No overload for 'OnStartup' matches delegate 'System.Windows.StartupEventHandler'
- 关于C#的 error CS0123: No overload for 'PaintHandler1' matches delegate 'System.Windows.Forms.PaintEven
- [已解决]在VMware-server for linux 下装centos错误:an error has occurred. - no valid devices were found on which to create new file system
- wireshark on mac :::no interface can be used for capturing in this system with the current configura
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Them
- C#编译问题'System.Collections.Generic.IEnumerable' does not contain a definition for 'Where' and no extension method 'Where' accepting a first argument
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- Manually and automatically mount windows file system on Linux
- GenyMotion for Android Development on Windows
- System Operations on AWS - Lab 4W - Monitoring (Windows)
- System Operations on AWS - Lab 5W - Managing Resources (Windows)
- ANSI Code Page for Windows System Locale with Identifier Constants and Strings
- 关于Action<T> 、Func<T>、EventHandler<T>、event、delegate
- Error retrieving parent for item: No resource found that matches the given name 如何解决
- No JVM could be found on your system.Please define EXE4J_JAVA_HOME问题解决方法(版本问题)
- Error retrieving parent for item: No resource found that matches the given name 'android:Theme....
- System.Windows.Forms.Application.StartupPath
- Resetting the Root Password for MySQL on Windows Systems
- Error retrieving parent for item: No resource found that matches the given name 'TextTheme'
- Programmatically display system tray icon on Windows Mobile