初始化上传
This commit is contained in:
21
常用工具集/Views/04破解及系统相关/AdobeAcrobatXI破解.axaml
Normal file
21
常用工具集/Views/04破解及系统相关/AdobeAcrobatXI破解.axaml
Normal file
@@ -0,0 +1,21 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="715" d:DesignHeight="600"
|
||||
x:Class="常用工具集.AdobeAcrobatXI破解"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:AdobeAcrobatXI破解ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:AdobeAcrobatXI破解ViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="请先下载安装AdobeAcrobatXI,下载路径:" Foreground="Red" VerticalAlignment="Top" Width="225" />
|
||||
<TextBox HorizontalAlignment="Left" Margin="245,4,0,0" TextWrapping="Wrap" Text="https://cloud.189.cn/web/share?code=RrIJbyEriM3e(访问码:6j8j)" VerticalAlignment="Top" Width="440"/>
|
||||
<TextBlock HorizontalAlignment="Left" Margin="30,101,0,0" Text="安装路径:" VerticalAlignment="Top" Width="245" />
|
||||
<TextBox HorizontalAlignment="Left" Margin="110,95,0,0" TextWrapping="Wrap" Text="{Binding FilePath}" VerticalAlignment="Top" Width="420" />
|
||||
<Button Width="120" Content="查找安装目录" Command="{Binding FindPathCmd}" HorizontalAlignment="Left" Margin="115,142,0,0" VerticalAlignment="Top" />
|
||||
<Button Width="120" Content="一键破解" Command="{Binding CrackCmd}" Margin="280,142,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/AdobeAcrobatXI破解.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/AdobeAcrobatXI破解.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class AdobeAcrobatXI破解 : UserControl
|
||||
{
|
||||
public AdobeAcrobatXI破解()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
60
常用工具集/Views/04破解及系统相关/MySQL定时备份.axaml
Normal file
60
常用工具集/Views/04破解及系统相关/MySQL定时备份.axaml
Normal file
@@ -0,0 +1,60 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="常用工具集.MySQL定时备份"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:MySQL定时备份ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:MySQL定时备份ViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="20" />
|
||||
<RowDefinition Height="60" />
|
||||
<RowDefinition Height="60" />
|
||||
<RowDefinition Height="60" />
|
||||
<RowDefinition Height="60" />
|
||||
<RowDefinition Height="60" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="150" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="40" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<TextBlock Text="mysqldump所在目录" Grid.Column="0" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0" />
|
||||
<TextBox Text="{Binding FilePath}" Grid.Column="1" Grid.ColumnSpan="4" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Width="390" Margin="10,0,0,0"/>
|
||||
<Button Grid.Column="5" Grid.Row="1" Content="查询" HorizontalAlignment="Left" VerticalAlignment="Center" Command="{Binding FindPathCmd}" Margin="10,0,0,0" />
|
||||
|
||||
|
||||
<TextBlock Text="MySQL用户名" Grid.Column="0" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0" />
|
||||
<TextBox Text="{Binding UserName}" Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" Width="99" />
|
||||
<TextBlock Text="MySQL密码" Grid.Column="2" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0"/>
|
||||
<TextBox Text="{Binding Password}" Grid.Column="3" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" Width="99" />
|
||||
<TextBlock Text="需要备份的库" Grid.Column="4" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0" />
|
||||
<TextBox Text="{Binding DatabaseName}" Grid.Column="5" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" Width="99" />
|
||||
|
||||
<TextBlock Text="每天几点钟开始备份" Grid.Column="0" Grid.Row="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0" />
|
||||
<TimePicker UseSeconds="True" SelectedTime="{Binding SelectedTime}" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Width="250"/>
|
||||
<!--<hc:TimePicker SelectedTime="{Binding SelectedTime}" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center" Width="99" Style="{StaticResource TimePickerPlus}">
|
||||
<hc:TimePicker.Clock>
|
||||
<hc:ListClock/>
|
||||
</hc:TimePicker.Clock>
|
||||
</hc:TimePicker>-->
|
||||
|
||||
|
||||
<TextBlock Text="备份到哪" Grid.Column="0" Grid.Row="4" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0"/>
|
||||
<TextBox Text="{Binding BackPath}" Grid.Column="1" Grid.ColumnSpan="4" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Left" Width="390" Margin="10,0,0,0"/>
|
||||
|
||||
<Button Grid.Row="5" Grid.Column="2" Content="创建备份计划" Command="{Binding CreateBackPlanCmd}" />
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/MySQL定时备份.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/MySQL定时备份.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class MySQL定时备份 : UserControl
|
||||
{
|
||||
public MySQL定时备份()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
32
常用工具集/Views/04破解及系统相关/串口转键盘输入.axaml
Normal file
32
常用工具集/Views/04破解及系统相关/串口转键盘输入.axaml
Normal file
@@ -0,0 +1,32 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="常用工具集.串口转键盘输入"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:串口转键盘输入ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:串口转键盘输入ViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<TextBlock Text="串口" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="82,66,0,0" />
|
||||
<ComboBox HorizontalAlignment="Left" IsEnabled="{Binding Enabled}" VerticalAlignment="Top" SelectedIndex="{Binding SerialIndex}" ItemsSource="{Binding SerialList}" Margin="162,60,0,0" Width="206" />
|
||||
|
||||
<TextBlock Text="波特率" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="82,110,0,0" />
|
||||
<ComboBox HorizontalAlignment="Left" IsEnabled="{Binding Enabled}" VerticalAlignment="Top" SelectedIndex="{Binding BaudRateIndex}" ItemsSource="{Binding BaudRateList}" Margin="162,104,0,0" Width="206" />
|
||||
|
||||
<TextBlock Text="校验" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="82,156,0,0" />
|
||||
<ComboBox HorizontalAlignment="Left" IsEnabled="{Binding Enabled}" VerticalAlignment="Top" SelectedIndex="{Binding ParityIndex}" ItemsSource="{Binding ParityList}" Margin="162,150,0,0" Width="206" />
|
||||
|
||||
<TextBlock Text="数据位" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="82,198,0,0" />
|
||||
<ComboBox HorizontalAlignment="Left" IsEnabled="{Binding Enabled}" VerticalAlignment="Top" SelectedIndex="{Binding DataBitIndex}" ItemsSource="{Binding DataBitList}" Margin="162,192,0,0" Width="206" />
|
||||
<TextBlock Text="停止位" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="82,248,0,0" />
|
||||
<ComboBox HorizontalAlignment="Left" IsEnabled="{Binding Enabled}" VerticalAlignment="Top" SelectedIndex="{Binding StopBitIndex}" ItemsSource="{Binding StopBitList}" Margin="162,242,0,0" Width="206" />
|
||||
|
||||
<TextBlock Text="读取超时" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="82,296,0,0" />
|
||||
<TextBox IsEnabled="{Binding Enabled}" Margin="162,290,0,0" HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding Timeout}" VerticalAlignment="Top" Width="206" />
|
||||
<Button Content="{Binding ButtonText}" Command="{Binding ButtonCmd}" Margin="154,341,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="106" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/串口转键盘输入.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/串口转键盘输入.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 串口转键盘输入 : UserControl
|
||||
{
|
||||
public 串口转键盘输入()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
24
常用工具集/Views/04破解及系统相关/删除WPS图标.axaml
Normal file
24
常用工具集/Views/04破解及系统相关/删除WPS图标.axaml
Normal file
@@ -0,0 +1,24 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="725" d:DesignHeight="600"
|
||||
x:Class="常用工具集.删除WPS图标"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:删除WPS图标ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:删除WPS图标ViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Image HorizontalAlignment="Left" Height="377" Margin="50,39,0,0" VerticalAlignment="Top" Width="566" Source="avares://常用工具集/Assets/WPS/show.jpg"/>
|
||||
<Button Content="删除" Command="{Binding ClearCmd}" Margin="252,427,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="106" />
|
||||
<TextBlock HorizontalAlignment="Left" Margin="25,10,0,0" TextWrapping="Wrap" Text="该功能只针对于特定版本,下载路径:" Foreground="Red" VerticalAlignment="Top" Width="205" Height="19" />
|
||||
|
||||
|
||||
<TextBox HorizontalAlignment="Left" Margin="235,6,0,0" TextWrapping="Wrap" Text="https://cloud.189.cn/web/share?code=zM3Ebaum2YBn(访问码:iow7)" VerticalAlignment="Top" Width="440"/>
|
||||
|
||||
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/删除WPS图标.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/删除WPS图标.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 删除WPS图标 : UserControl
|
||||
{
|
||||
public 删除WPS图标()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
16
常用工具集/Views/04破解及系统相关/图标缓存清理.axaml
Normal file
16
常用工具集/Views/04破解及系统相关/图标缓存清理.axaml
Normal file
@@ -0,0 +1,16 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="常用工具集.图标缓存清理"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:图标缓存清理ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:图标缓存清理ViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Button HorizontalAlignment="Left" VerticalAlignment="Top" Margin="50,50,0,0" Content="图标缓存清理" Command="{Binding ClearCmd}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/图标缓存清理.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/图标缓存清理.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 图标缓存清理 : UserControl
|
||||
{
|
||||
public 图标缓存清理()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
16
常用工具集/Views/04破解及系统相关/快速打开网络和共享中心.axaml
Normal file
16
常用工具集/Views/04破解及系统相关/快速打开网络和共享中心.axaml
Normal file
@@ -0,0 +1,16 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:Class="常用工具集.快速打开网络和共享中心"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:快速打开网络和共享中心ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:快速打开网络和共享中心ViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Button HorizontalAlignment="Left" VerticalAlignment="Top" Margin="50,50,0,0" Content="快速打开网络和共享中心" Command="{Binding ButtonCmd}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/快速打开网络和共享中心.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/快速打开网络和共享中心.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 快速打开网络和共享中心 : UserControl
|
||||
{
|
||||
public 快速打开网络和共享中心()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
102
常用工具集/Views/04破解及系统相关/服务器性能监控.axaml
Normal file
102
常用工具集/Views/04破解及系统相关/服务器性能监控.axaml
Normal file
@@ -0,0 +1,102 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="815" d:DesignHeight="660"
|
||||
x:Class="常用工具集.服务器性能监控"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:服务器性能监控ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:服务器性能监控ViewModel/>
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Border Theme="{StaticResource CardBorder}" Margin="10,10,30,440">
|
||||
<Grid>
|
||||
<TextBlock HorizontalAlignment="Center" Margin="0,-20,0,0" TextWrapping="Wrap" Text="操作系统" VerticalAlignment="Top"/>
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,14,0,0" Text="操作系统架构:" />
|
||||
<TextBox Text="{Binding OSArchitecture}" HorizontalAlignment="Left" Margin="120,8,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="405,14,0,0" Text="操作系统类型:" />
|
||||
<TextBox Text="{Binding OSPlatformID}" HorizontalAlignment="Left" Margin="505,8,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,48,0,0" Text="操作系统版本:" />
|
||||
<TextBox Text="{Binding OSVersion}" HorizontalAlignment="Left" Margin="120,42,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="365,48,0,0" Text="操作系统的版本描述:" />
|
||||
<TextBox Text="{Binding OSDescription}" HorizontalAlignment="Left" Margin="505,43,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,89,0,0" Text="本进程的架构:" />
|
||||
<TextBox Text="{Binding ProcessArchitecture}" HorizontalAlignment="Left" Margin="120,83,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="335,89,0,0" Text="当前计算机上的处理器数:" />
|
||||
<TextBox Text="{Binding ProcessorCount}" HorizontalAlignment="Left" Margin="505,83,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,121,0,0" Text="计算机名称:" />
|
||||
<TextBox Text="{Binding MachineName}" HorizontalAlignment="Left" Margin="120,115,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="429,121,0,0" Text=".NET版本:" />
|
||||
<TextBox Text="{Binding FrameworkVersion}" HorizontalAlignment="Left" Margin="505,115,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="429,154,0,0" Text=".NET描述:" />
|
||||
<TextBox Text="{Binding FrameworkDescription}" HorizontalAlignment="Left" Margin="505,148,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Theme="{StaticResource CardBorder}" Margin="10,225,30,320">
|
||||
<Grid>
|
||||
<TextBlock HorizontalAlignment="Center" Margin="0,-20,0,0" TextWrapping="Wrap" Text="CPU内存使用率" VerticalAlignment="Top"/>
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,14,0,0" Text="CPU使用率:" />
|
||||
<TextBox Text="{Binding CPURate}" HorizontalAlignment="Left" Margin="120,8,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="420,14,0,0" Text="已用内存:" />
|
||||
<TextBox Text="{Binding MemoryRate}" Height="30" HorizontalAlignment="Left" Margin="505,8,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,48,0,0" Text="网络上传:" />
|
||||
<TextBox Text="{Binding UploadSpeed}" HorizontalAlignment="Left" Margin="120,43,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="420,48,0,0" Text="网络下载:" />
|
||||
<TextBox Text="{Binding DownloadSpeed}" Height="30" HorizontalAlignment="Left" Margin="505,43,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="190" />
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Theme="{StaticResource CardBorder}" Margin="10,345,30,30">
|
||||
<Grid>
|
||||
<TextBlock HorizontalAlignment="Center" Margin="0,-20,0,0" TextWrapping="Wrap" Text="磁盘信息" VerticalAlignment="Top"/>
|
||||
<DataGrid
|
||||
HeadersVisibility="All"
|
||||
CanUserReorderColumns="True"
|
||||
CanUserResizeColumns="True"
|
||||
CanUserSortColumns="True"
|
||||
IsReadOnly="True"
|
||||
ItemsSource="{Binding DataList}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn
|
||||
Width="*"
|
||||
x:DataType="vm:MyDisk"
|
||||
Binding="{Binding Name}"
|
||||
Header="磁盘名称" />
|
||||
<DataGridTextColumn
|
||||
Width="*"
|
||||
x:DataType="vm:MyDisk"
|
||||
Binding="{Binding Total}"
|
||||
Header="总容量" />
|
||||
<DataGridTextColumn
|
||||
Width="*"
|
||||
x:DataType="vm:MyDisk"
|
||||
Binding="{Binding Used}"
|
||||
Header="已使用" />
|
||||
<DataGridTextColumn
|
||||
Width="*"
|
||||
x:DataType="vm:MyDisk"
|
||||
Binding="{Binding Free}"
|
||||
Header="未使用" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/服务器性能监控.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/服务器性能监控.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 服务器性能监控 : UserControl
|
||||
{
|
||||
public 服务器性能监控()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
22
常用工具集/Views/04破解及系统相关/猫猫回收站.axaml
Normal file
22
常用工具集/Views/04破解及系统相关/猫猫回收站.axaml
Normal file
@@ -0,0 +1,22 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="常用工具集.猫猫回收站"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:猫猫回收站ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:猫猫回收站ViewModel />
|
||||
</UserControl.DataContext>
|
||||
|
||||
<Grid>
|
||||
<Image HorizontalAlignment="Left" Height="150" Margin="54,73,0,0" VerticalAlignment="Top" Width="150" Source="avares://常用工具集/Assets/Cat/full.png"/>
|
||||
<Image HorizontalAlignment="Left" Height="150" Margin="239,73,0,0" VerticalAlignment="Top" Width="150" Source="avares://常用工具集/Assets/Cat/empty.png"/>
|
||||
<Button Content="变成猫猫回收站" Command="{Binding Button1Cmd}" Margin="189,248,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" />
|
||||
<Button Content="还原" Command="{Binding Button2Cmd}" Margin="189,281,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="106" />
|
||||
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/猫猫回收站.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/猫猫回收站.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 猫猫回收站 : UserControl
|
||||
{
|
||||
public 猫猫回收站()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
27
常用工具集/Views/04破解及系统相关/远程路径软链接.axaml
Normal file
27
常用工具集/Views/04破解及系统相关/远程路径软链接.axaml
Normal file
@@ -0,0 +1,27 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="常用工具集.远程路径软链接"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:远程路径软链接ViewModel">
|
||||
<UserControl.DataContext>
|
||||
<vm:远程路径软链接ViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<TextBlock HorizontalAlignment="Left" Margin="85,10,0,0" TextWrapping="Wrap" Text="您需要将哪个远程路径映射到本地哪个路径" Foreground="Red" VerticalAlignment="Top" />
|
||||
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" Margin="30,56,0,0" TextWrapping="Wrap" Text="远程路径:" VerticalAlignment="Top" />
|
||||
<TextBox HorizontalAlignment="Left" Margin="110,50,0,0" TextWrapping="Wrap" Text="{Binding RemotePath}" VerticalAlignment="Top" Width="420" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Left" Margin="30,101,0,0" TextWrapping="Wrap" Text="本地路径:" VerticalAlignment="Top" />
|
||||
<TextBox HorizontalAlignment="Left" Margin="110,95,0,0" TextWrapping="Wrap" Text="{Binding LocalPath}" VerticalAlignment="Top" Width="420" />
|
||||
|
||||
|
||||
<Button Width="100" Content="创建软链接" Command="{Binding MakeLinkCmd}" HorizontalAlignment="Left" Margin="115,142,0,0" VerticalAlignment="Top" />
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/远程路径软链接.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/远程路径软链接.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 远程路径软链接 : UserControl
|
||||
{
|
||||
public 远程路径软链接()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
35
常用工具集/Views/04破解及系统相关/键盘钩子.axaml
Normal file
35
常用工具集/Views/04破解及系统相关/键盘钩子.axaml
Normal file
@@ -0,0 +1,35 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignHeight="600" d:DesignWidth="715"
|
||||
x:Class="常用工具集.键盘钩子"
|
||||
xmlns:vm ="clr-namespace:常用工具集.ViewModel._04破解及系统相关"
|
||||
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
|
||||
x:CompileBindings="True"
|
||||
x:DataType="vm:键盘钩子ViewModel">
|
||||
<!-- xmlns:b="clr-namespace:Avalonia.Xaml.Behaviors;assembly=Avalonia.Xaml.Behaviors" -->
|
||||
<UserControl.DataContext>
|
||||
<vm:键盘钩子ViewModel />
|
||||
</UserControl.DataContext>
|
||||
|
||||
<Grid RowDefinitions="60,*">
|
||||
<Grid>
|
||||
<Button Content="{Binding ButtonText}" Command="{Binding StartStopCmd}" HorizontalAlignment="Left" Margin="40,15,0,0" VerticalAlignment="Top" />
|
||||
<Button Content="清空" Command="{Binding CleanCmd}" HorizontalAlignment="Left" Margin="571,0,0,0" Width="74" />
|
||||
</Grid>
|
||||
<Border Theme="{StaticResource CardBorder}" Grid.Row="1" Margin="10,10,10,10">
|
||||
<Grid>
|
||||
<TextBlock HorizontalAlignment="Center" Margin="0,-20,0,0" TextWrapping="Wrap" Text="运行日志" VerticalAlignment="Top"/>
|
||||
<TextBox x:Name="TBInfo" Height="439" TextWrapping="Wrap" ScrollViewer.VerticalScrollBarVisibility="Auto" Text="{Binding Message}" Margin="10,10,0,0" HorizontalContentAlignment="Left" VerticalContentAlignment="Top">
|
||||
<i:Interaction.Behaviors>
|
||||
<DataTriggerBehavior Binding="{Binding Text.Length, ElementName=TBInfo}" ComparisonCondition="NotEqual" Value="0">
|
||||
<ChangePropertyAction TargetObject="TBInfo" PropertyName="CaretIndex" Value="{Binding ElementName=TBInfo, Path=Text.Length}"/>
|
||||
<CallMethodAction MethodName="ScrollToEnd" />
|
||||
</DataTriggerBehavior>
|
||||
</i:Interaction.Behaviors>
|
||||
</TextBox>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
13
常用工具集/Views/04破解及系统相关/键盘钩子.axaml.cs
Normal file
13
常用工具集/Views/04破解及系统相关/键盘钩子.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
|
||||
namespace 常用工具集;
|
||||
|
||||
public partial class 键盘钩子 : UserControl
|
||||
{
|
||||
public 键盘钩子()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user