不能在WPF IronPython的VS2010添加对控件的事件 [英] Cant add events for controls in WPF IronPython VS2010

查看:369
本文介绍了不能在WPF IronPython的VS2010添加对控件的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装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.

这篇关于不能在WPF IronPython的VS2010添加对控件的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆