不能在WPF IronPython的VS2010添加对控件的事件能在、控件、事件、IronPython

由网友(爱过方知情重,?)分享简介:我安装VS2010和IronPython工具。当我开始VB.NET WPFProject一切工作正常。但是,当我开始一个WPF IronPython的项目,它会创建一个默认的按钮,填补所有的窗口,当你尝试将事件添加到该控件或从工具箱拖到另一个控件,你都无法做到这一点。您双击它们,但该事件从未添加到源$ C ​​$ C。...

我安装VS2010和IronPython工具。当我开始VB.NET WPFProject一切工作正常。但是,当我开始一个WPF IronPython的项目,它会创建一个默认的按钮,填补所有的窗口,当你尝试将事件添加到该控件或从工具箱拖到另一个控件,你都无法做到这一点。您双击它们,但该事件从未添加到源$ C ​​$ C。任何人有这个问题?

I installed VS2010 and IronPython tools. When I start a VB.NET WPFProject everything works fine. But when I start a WPF IronPython project, it creates a button by default which fills all the window, and when you try to add an event to that control or another control dragged from the toolbox, you just cant do it. You double click on them, but the event is never added to the sourcecode. Anyone had this problem?

推荐答案

目前,我们没有为双击和添加的事件处理程序的支持。暂时,你需要手工来连接起来。我们将花一些时间在提高设计人员的经验,所以,这应该到山前必有路。

Currently we don't have support for double clicking and adding an event handler. For the time being you'll need to wire it up by hand. We are going to spend some time on improving the designer experience so that this should eventually work.

阅读全文

相关推荐

最新文章