mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-03 11:33:31 -05:00
Optimize UI Load performance
This commit is contained in:
@ -10,9 +10,13 @@ function Invoke-WPFUIApps {
|
||||
switch ($TargetGridName) {
|
||||
"appspanel" {
|
||||
$dockPanel = Initialize-InstallAppsMainElement -TargetGridName $TargetGridName
|
||||
log_time_taken "Setup DockPanel for Apps"
|
||||
$null = Initialize-InstallHeader -TargetElement $dockPanel
|
||||
log_time_taken "Setup Header for Apps"
|
||||
$sync.ItemsControl = Initialize-InstallAppArea -TargetElement $dockPanel
|
||||
log_time_taken "Setup ItemsControl for Apps"
|
||||
Initialize-InstallCategoryAppList -TargetElement $sync.ItemsControl -Apps $Apps
|
||||
log_time_taken "UI Initialized"
|
||||
}
|
||||
default {
|
||||
Write-Output "$TargetGridName not yet implemented"
|
||||
|
Reference in New Issue
Block a user