Add Disk Cleanup panel

This commit is contained in:
Rasinzz 2022-05-17 21:53:19 -04:00
parent 4d2364072e
commit 285d6723e9
2 changed files with 4 additions and 0 deletions

View File

@ -207,6 +207,7 @@
<Button Name="Panelsound" FontSize="14" Background="AliceBlue" Content="Sound Settings" Margin="20,0,20,5" Padding="10"/> <Button Name="Panelsound" FontSize="14" Background="AliceBlue" Content="Sound Settings" Margin="20,0,20,5" Padding="10"/>
<Button Name="Panelsystem" FontSize="14" Background="AliceBlue" Content="System Properties" Margin="20,0,20,5" Padding="10"/> <Button Name="Panelsystem" FontSize="14" Background="AliceBlue" Content="System Properties" Margin="20,0,20,5" Padding="10"/>
<Button Name="Paneluser" FontSize="14" Background="AliceBlue" Content="User Accounts" Margin="20,0,20,5" Padding="10"/> <Button Name="Paneluser" FontSize="14" Background="AliceBlue" Content="User Accounts" Margin="20,0,20,5" Padding="10"/>
<Button Name="Paneldiskcleanup" FontSize="14" Background="AliceBlue" Content="Disk Cleanup" Margin="20,0,20,5" Padding="10"/>
</StackPanel> </StackPanel>
</Grid> </Grid>
</TabItem> </TabItem>

View File

@ -1221,6 +1221,9 @@ $WPFPanelsystem.Add_Click({
$WPFPaneluser.Add_Click({ $WPFPaneluser.Add_Click({
cmd /c "control userpasswords2" cmd /c "control userpasswords2"
}) })
$WPFPaneldiskcleanup.Add_Click({
cmd /c cleanmgr
})
#=========================================================================== #===========================================================================
# Tab 4 - Updates Buttons # Tab 4 - Updates Buttons
#=========================================================================== #===========================================================================