当前位置:网站首页>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
边栏推荐
- Altium designer 19.1.18 - hide the fly line of a network
- [professional literacy] specific direction of analog integrated circuits
- Esmini longspeedaction modification
- Count and sort the occurrence times of specific fields through SQL statements
- Global and Chinese market of digital shore durometer 2022-2028: Research Report on technology, participants, trends, market size and share
- Using C language to realize IIC driver in STM32 development
- MySql——存储引擎
- The sublime version that XP can run is 3114
- Altium designer 19.1.18 - clear information generated by measuring distance
- Global and Chinese market for blood typing 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢
研究發現,跨境電商客服系統都有這五點功能!
Record the visual shock of the Winter Olympics and the introduction of the screen 2
UEFI development learning 6 - creation of protocol
II Simple NSIS installation package
Interview catalogue
Application of ultra pure water particle counter in electronic semiconductors
C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序
Shell脚本基本语法
Practical application cases of digital Twins - fans
Numpy——1. Creation of array
随机推荐
生产中影响滑环质量的因素
Cadence simulation encountered "input.scs": can not open input file change path problem
Linked list (establishment, deletion, insertion and printing of one-way linked list)
Pointnet++ classification practice
Function and usage of function pointer
UEFI development learning 6 - creation of protocol
[professional literacy] core conferences and periodicals in the field of integrated circuits
mysql 盲注常见函数
Train your dataset with yolov4
Gradle复合构建
LED display equipment records of the opening ceremony of the Beijing Winter Olympics
"Source code interpretation" famous programmer TJ's only library
Interview catalogue
IC software learning
Define in and define out
Gradle composite construction
研究發現,跨境電商客服系統都有這五點功能!
Create inf module in AMI code
Nombre - 1. Création de tableaux
TCP and UDP