WPF中的inputbox withc# [英] inputbox in wpf withc#

查看:212
本文介绍了WPF中的inputbox withc#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

如何在wpf中将事件用于私有输入框将使用代码c#

谢谢

dear all,

how can useing the event for private inputbox in wpf will be use code c#

thanks

推荐答案

我没有得到这个问题.谁在乎它是否私有?使用代码,您可以像往常一样连接事件.

如果您正在动态创建对象并且不想为事件处理程序编写方法,则可以使用匿名委托.
I don''t get the question. Who cares if it is private ? You hook up the events the same way you always would, with code.

You can use an anonymous delegate if you''re creating objects on the fly and don''t want to write a method for an event handler.


这篇关于WPF中的inputbox withc#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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