登录
首页 » Windows开发 » 1,一个新的项目,调整窗口大小的变化1属性窗口中的文本…

1,一个新的项目,调整窗口大小的变化1属性窗口中的文本…

于 2022-02-21 发布 文件大小:576.79 kB
0 55
下载积分: 2 下载次数: 1

代码说明:

1、新建一个项目,调整窗口的大小,修改form1属性窗口中的text属性为“抢答器” 2、在form1中添加一个按钮控件。名称分别为button1.button2.button3.并且分别将控件的test属性设置为“1号2号3号”。 3、在form1右侧添加textbox控件,名称为textbox1.将其text属性清空。 4、再次添加一个按钮控件,名称为button4 ,将其text属性设置为“复位”。 5、双击一号按钮,打开代码编辑窗口,添加按钮点击执行代码如图所示。-1, a new item, adjust the window size changes Form1 properties window of text attributes to "Responder" two in Form1 add a button control. Names were button1.button2.button3. Respectively, to control the test attribute set to "on the 1st on the 2nd on the 3rd." 3, in addition Form1 right textbox controls, to name textbox1. Its text attributes emptied. 4 again to add a button control, the name of Button4, its text attribute set to "reset." 5, click the button on the 1st, open source editor window, click the Add button code execution shown in the figure.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103939会员总数
  • 12今日下载