我如何连接XAML和xaml.cs文件 [英] How can I connect xaml and xaml.cs files
问题描述
我有一个VB预测,并把它转换为C#中使用的在线转换工具。现在的问题是 XAML
和 xaml.cs
文件不相互连接,这是他们不承认它们的依赖(红色区域图)。其实它应该出现像窗口1文件(青区的形象。)我怎样才能做到这一点。
I had a VB projected and converted it to C# using online conversion tools. Now the problem is xaml
and xaml.cs
file do not connect to each other, that is they don't recognize their dependencies (Red area in Fig). Actually it should appear like Window1 Files (Green Area in the image.) How can I achieve this.
我想我的手在WPF所以可能是一个门外汉之类的问题。
I am trying my hands on WPF so may be a layman sort of question.
非常感谢你提前。
问候,
推荐答案
这是简单)) - 尝试添加项目现有项目并选择XAML(没有的.cs ..等)文件格式列表中。在VS2010这就是帮助
This is simple ))- try to add in project existing items and select the XAML(not .cs.. etc) files in list of formats. In VS2010 thats helps
这篇关于我如何连接XAML和xaml.cs文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!