diff --git a/itt.ps1 b/itt.ps1 index 0b2fed21..f42e103d 100644 --- a/itt.ps1 +++ b/itt.ps1 @@ -12658,9 +12658,40 @@ function Show-Event { $itt.event.FindName('date').Text = $itt.date $CloseBtn = $itt.event.FindName('closebtn') - #{title} + $itt.event.FindName('title').text = 'New Update! +'.Trim() - #{contorlshandler} + + $itt.event.FindName('shell').add_MouseLeftButtonDown({ + + if('False'){ + Write-Host "https://github.com/emadadel4/shelltube" + Write-Host "shell" + } + + Start-Process('https://github.com/emadadel4/shelltube') + }) + + $itt.event.FindName('adel').add_MouseLeftButtonDown({ + + if('False'){ + Write-Host "https://raw.githubusercontent.com/emadadel4/ITT/refs/heads/update/Resources/Images/customtheme.jpg" + Write-Host "adel" + } + + Start-Process('https://raw.githubusercontent.com/emadadel4/ITT/refs/heads/update/Resources/Images/customtheme.jpg') + }) + + $itt.event.FindName('emad').add_MouseLeftButtonDown({ + + if('False'){ + Write-Host "https://www.youtube.com/watch?v=QmO82OTsU5c" + Write-Host "emad" + } + + Start-Process('https://www.youtube.com/watch?v=QmO82OTsU5c') + }) + $CloseBtn.add_MouseLeftButtonDown({ $itt.event.Close() @@ -17184,7 +17215,107 @@ $EventWindowXaml = ' - UpdateContent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +