My form has over 200 controls! It takes about 7 seconds to load the form and snap the controls.
I traced the application with some performance profilers, but I did not find anything with the HOT flag except for the form constructor.
I would like to know that you can call the InitializeComponent method with sth, for example backgroundWorker (multithreading) !?
No, the thread will not help. Controls must be created in the user interface thread so that the application can work at all.
, 200 , , , " ".
, , , , , - . , "", , , .
TabControl. .
Per MSDN:
, TabPage, , , , .
.
- . , , , WinForms. 200+ Windows Forms , , .
, : , , - , .
, :
, NGen - . ( , , ) NGen-ed, , .
Judah, MDI WinForms, 200 , , . -, , , , -, SKU, , , , , .. -, -, , . , , .., .
7 . ; - , 200 , . , " " , , . (, -), , ; 10 , 100, , , , , , .
Source: https://habr.com/ru/post/1790709/More articles:How should you read the following documentation? - c ++Reading a cache file previously written by the same application - androidMS Office Word 2007/2010 - how to view editing an existing SELECT inline merge? - sqlClojure - How do I check for prompt types in protocols? - clojureWinApp form loads too much data during a load event - c #what is the relationship between file pointer width and maximum file size - linuxScriptmanager RegisterStartupScript does not work with callbacks - c #onclick bind event button - javascriptAsyncTasks and thread safe data objects? - androidYoutube control video player using Javascript from FireFox add-on - javascriptAll Articles