Click here to Skip to main content
16,004,653 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
My program is a winform-based program, which will embed the function of math equation edit; I download an open source math edit program, which was written by WPF. So I must use a WPF window in a winform-based program.I set the WPF program as a class library, and refer it in a test project, but the program can’t run.When the program runs,it throws exception,the innerException is "Cannot find resource named ‘ToolbarButtonStyle’,Resource names are case sensitive".I’m new in WPF,and don’t know how to fix the problem.


the wpf program url that i want to use is OOP in the Real World - Creating an Equation Editor[^]

can anyone give me a sample using this wpf window in winform program?

What I have tried:

I create a sample winform project ,and refer the wpf class library,but it still throw the same exception
Posted
Updated 7-Mar-16 3:31am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900