c# winfrom性能优化之加载顺序

以下是通过软件运行日志记录:

日志记录:

2021/02/26 20:49:55:7930

1

Program_Main第一行

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:0530

2

Main_Form_Resize

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:0530

3

Main_Form_SizeChanged

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:0530

4

Main_Form_ClientSizeChanged

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:0530

5

Main_Form_InitializeComponent

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:0630

6

Main_Form_Move

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:0830

7

Main_Form_StyleChanged

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:1030

8

Main_Form_Load

---------------------------------------------------------

日志记录:

2021/02/26 20:49:56:2830

9

开始绑定数据

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:2430

10

dataGridView1_DataBindingComplete

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:3130

11

dataGridView1_DataBindingComplete

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:3130

12

数据绑定结束

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:3330

13

Main_Form_Layout

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:8030

14

Main_Form_Activated

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:8130

15

Main_Form_Shown

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:8630

16

Main_Form_Paint

---------------------------------------------------------

日志记录:

2021/02/26 20:49:57:9530

17

Main_Form_ChangeUICues

---------------------------------------------------------

日志记录:

2021/02/26 20:49:59:9030

18

Main_Form_Move

---------------------------------------------------------

日志记录:

2021/02/26 20:49:59:9130

19

Main_Form_Layout

---------------------------------------------------------

日志记录:

2021/02/26 20:49:59:9130

20

Main_Form_Resize

---------------------------------------------------------

日志记录:

2021/02/26 20:49:59:9230

21

Main_Form_SizeChanged

---------------------------------------------------------

日志记录:

2021/02/26 20:49:59:9230

22

Main_Form_ClientSizeChanged

---------------------------------------------------------

日志记录:

2021/02/26 20:49:59:9230

23

Main_Form_Paint

---------------------------------------------------------

日志记录:

2021/02/26 20:50:05:4130

24

Main_Form_Move

---------------------------------------------------------

日志记录:

2021/02/26 20:50:05:4130

25

Main_Form_Layout

---------------------------------------------------------

日志记录:

2021/02/26 20:50:05:4230

26

Main_Form_Resize

---------------------------------------------------------

日志记录:

2021/02/26 20:50:05:4230

27

Main_Form_SizeChanged

---------------------------------------------------------

日志记录:

2021/02/26 20:50:05:4230

28

Main_Form_ClientSizeChanged

---------------------------------------------------------

日志记录:

2021/02/26 20:50:05:4430

29

Main_Form_Deactivate

---------------------------------------------------------

扫一扫,关注更多技术

c# winfrom性能优化之加载顺序_第1张图片

 

你可能感兴趣的:(winform)