Windows窗体应用程序问题

Windows窗体应用程序问题

本文介绍了CLR Windows窗体应用程序问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我有一个CLR Win Form应用程序,其中编写了事件驱动的代码
在form1.h文件中.我要弄清楚的是,我应该将未连接到我的用户界面对象的代码放在哪里? (按钮等).例如,我有一个文本框,其中应显示通过winsock连接接收到的数据,但是
目前,我有一个按下的按钮,用于检查接收到的数据.我需要代码独立运行,而不是成为按钮事件.我希望我能说清楚自己,并非常感谢您的帮助....

Hello,
I have a CLR Win Form Application where I have my event driven code written
on the form1.h file. What I''m trying to figure out is where do I put my code that is Not connected to my user interface objects? (buttons etc.) For instance, I have a text box that should display data which is received via a winsock connection, but
for the moment I have a button that I press that checks for the received data. I need the code to be running independantly instead of being a button event. I hope I made myself clear and really appreciate any help....

Thanks!!

推荐答案



这篇关于CLR Windows窗体应用程序问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 14:44