更新按钮的C#代码 [英] C# code for the update button

查看:74
本文介绍了更新按钮的C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想知道是否可以更新屏幕参数的变化,而不是每次选择一个参数时都更新.我们可以声明一个数组吗?请给我代码.

Hi,
I would like to know is it possible to update the changes in the parameters of the screen at the end rather updating every time when one parameter is selected.Can we declare an array? please give me the code.

推荐答案

您未指定需要使用的UI库.您总是需要这样做.

但是,在这种情况下,有一个普遍的答案:按钮不需要任何代码.您需要的代码将移至其他位置,并且与触发它的按钮无关.

我认为到目前为止,您已经知道没有人会给您任何有用的代码.没有人可以编码谁知道什么,谁知道为什么.对我来说,几乎可以看出,即使您也不清楚自己想要什么,却忘了别人.也许不要甚至使用改善问题".首先工作,直到您了解自己在做什么.


哦,我可以看到一个模式……即使我解释说这是没有道理的,您仍会例行询问按钮代码":
You did not specify the UI library you need to use. You always need to do that.

However, in this case there is a general answer: buttons do not need any code. The code you need will go elsewhere and has nothing to do with the button triggering it.

I think by now you understand that nobody will give you any useful code. Nobody can code who-knows-what who-knows-why. It''s almost apparent to me that even you don''t clearly understand what you want, forget about others. Perhaps don''t even use "Improve question". First work until you come to understanding of what are you doing.


Oh, I can see a pattern… You routinely ask about the "code for a button" even after I explained it makes no sense: code for save button[^].
Also, you never explain what do you want to achieve and why (the ultimate purpose). You always need to explain those things.

Please, either overcome this pattern, of stop asking your questions of this sort at all and work at yourself. Your questions will not help you until you overcome this. Don''t waste our time and your own time.

—SA


这篇关于更新按钮的C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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