通过单击按钮打开表单? [英] Open up a Form from a Button click?
本文介绍了通过单击按钮打开表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个倒数计时器的用户控件表单.我想要一个开始按钮然后启动计时器.计时器将成为另一种形式的标签.我需要做什么才能通过点击开始按钮启动这个新表单?
I have a user control form for a countdown timer. I want a start button to then launch the timer. The timer will then be labels in another form. What do I need to do to launch this new form from the click on start button?
推荐答案
var form = new YourForm();
form.Show();
这篇关于通过单击按钮打开表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文