当前位置:网站首页>C WinForm [display real-time time in the status bar] - practical exercise 1
C WinForm [display real-time time in the status bar] - practical exercise 1
2022-07-05 07:55:00 【BoomBiuBiu】
1、 Drag two controls from the toolbox to the form ----timer Controls and statusStrip Control

2、 Select the properties of the status bar ---- Click on Items---- Add item ---- hold Text Display date and time instead

3、 choice Timer attribute , hold Enabled Change it to 【True】,Interval Change it to 【1000】

4、 Click event ---- stay Tick Press enter

5、 Enter the code
private void timer1_Tick(object sender, EventArgs e)
{
toolStripStatusLabel7.Text = System.DateTime.Now.ToString();
}6、 Results show

边栏推荐
- C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序
- UEFI development learning 4 - getting to know variable services
- The research found that the cross-border e-commerce customer service system has these five functions!
- Altium Designer 19.1.18 - 导入板框
- Consul安装
- How to define guid in AMI code
- 1089 Insert or Merge 含测试点5
- STM32 learning method
- Batch modify the txt file code to UTF-8 (notepad++)
- assert_ Usage of param function
猜你喜欢

Altium designer 19.1.18 - hide the fly line of a network

The printer encountered an abnormal configuration problem 0x8007007e (win10)

Reasons for rapid wear of conductive slip rings
![[untitled] record the visual shock of the Winter Olympics and the introduction of the display screen](/img/43/7f8becc09c5ce7fe401bed140608f3.jpg)
[untitled] record the visual shock of the Winter Olympics and the introduction of the display screen

From then on, I understand convolutional neural network (CNN)

Practical application cases of digital Twins - fans

The research found that the cross-border e-commerce customer service system has these five functions!

Mlperf training v2.0 list released, with the same GPU configuration, the performance of Baidu PaddlePaddle ranks first in the world

Ads learning record (lna_atf54143)

UEFI development learning 3 - create UEFI program
随机推荐
Factors affecting the quality of slip rings in production
The research found that the cross-border e-commerce customer service system has these five functions!
Programming knowledge -- basis of C language
Ads usage skills
UEFI development learning 4 - getting to know variable services
Fundamentals of C language
Embedded AI intelligent technology liquid particle counter
Altium Designer 19.1.18 - 清除测量距离产生的信息
Numpy——1.数组的创建
PIL's image tool image reduction and splicing.
A complete set of indicators for the 10000 class clean room of electronic semiconductors
Explain STM32 startup file in detail
How to migrate the device data accessed by the RTSP of the easycvr platform to easynvr?
Record the visual shock of the Winter Olympics and the introduction of the screen 2
[professional literacy] core conferences and periodicals in the field of integrated circuits
软件设计师:03-数据库系统
Global and Chinese markets of nano biosensors 2022-2028: Research Report on technology, participants, trends, market size and share
Opendrive ramp
Let me teach you how to develop a graphic editor
Global and Chinese market of digital shore durometer 2022-2028: Research Report on technology, participants, trends, market size and share