听说视频号现在很火了,通宵搞这个玩意出来,也不知道有没有人用得上。先放这里给大家免费用。
软件下载地址:https://download.csdn.net/download/weixin_38679010/89338914
XAML代码:
<Window x:Class="视频号.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
xmlns:local="clr-namespace:视频号"
mc:Ignorable="d"
Title="MainWindow" Height="580" Width="1170" Background="#e0f7ff"
WindowStyle="None" AllowsTransparency="True">
<Window.Resources>
<!-- Button Style -->
<Style TargetType="Button">
<Setter Property="Background" Value="#90caf9"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="BorderBrush" Value="#42a5f5"/>
<Setter Property="BorderThickness" Value="0.5"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="White" BlurRadius="10" ShadowDepth="0"/>
</Setter.Value>
</Setter>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#42a5f5"/>
</Trigger>
</Style.Triggers>
</Style>
<!-- TextBox Style -->
<Style TargetType="TextBox">
<Setter Property="Background" Value="White"/>
<Setter Property="BorderBrush" Value="#42a5f5"/>
<Setter Property="BorderThickness" Value="0.5"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="White" BlurRadius="10" ShadowDepth="0"/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="SearchButtonStyle" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Background" Value="#90caf9"/>
</Style>
<Style x:Key="DownloadSelectedButtonStyle" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Background" Value="#ff9800"/>
</Style>
<Style x:Key="DownloadAllButtonStyle" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Background" Value="#8bc34a"/>
</Style>
<Style x:Key="SettingsButtonStyle" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Background" Value="#ffeb3b"/>
<Setter Property="Foreground" Value="Black"/>
</Style>
<Style x:Key="ActivationButtonStyle" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Background" Value="#9c27b0"/>
</Style>
<!-- ListBox Style -->
<Style TargetType="ListBox">
<Setter Property="Background" Value="White"/>
<Setter Property="BorderBrush" Value="#42a5f5"/>
<Setter Property="BorderThickness" Value="0.5"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="White" BlurRadius="10" ShadowDepth="0"/>
</Setter.Value>
</Setter>
</Style>
<!-- ListBoxItem Style -->
<Style TargetType="ListBoxItem">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="White" BlurRadius="10" ShadowDepth="0"/>
</Setter.Value>
</Setter>
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="#c5e1a5"/>
<Setter Property="BorderBrush" Value="#8bc34a"/>
<Setter Property="BorderThickness" Value="1"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#b3e5fc"/>
</Trigger>
</Style.Triggers>
</Style>
</Window.Resources>
<Border BorderBrush="#b3e5fc" BorderThickness="1" CornerRadius="10" Background="White">
<Grid>
<!-- Custom Title Bar -->
<Grid Background="#b3e5fc" Height="100" VerticalAlignment="Top" MouseLeftButtonDown="TitleBar_MouseLeftButtonDown">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Image Source="/logo.png" Margin="10,22,69,10"/>
<TextBlock Text="视频号批量下载助手" VerticalAlignment="Center" FontWeight="Bold" Foreground="#42a5f5" FontSize="32" Margin="91,0,431,0" Grid.ColumnSpan="2"/>
<StackPanel Orientation="Horizontal" Grid.Column="2" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,10,10,10">
<Button Content="—" Width="40" Click="MinimizeButton_Click"/>
<Button Content="□" Width="40" Click="MaximizeButton_Click"/>
<Button Content="×" Width="40" Click="CloseButton_Click" Background="#f44336"/>
</StackPanel>
<TextBlock x:Name="MembershipTextBlock" Text="超级会员 到期时间:2025-12-12" VerticalAlignment="Top" FontWeight="Bold" Foreground="#42a5f5" Margin="582,75,10,0" Grid.Column="1" Grid.ColumnSpan="2" FlowDirection="RightToLeft"/>
</Grid>
<!-- Main Content -->
<Grid Margin="0,101,0,0">
<!-- Top section -->
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="300"/>
<!-- 左边列表宽度 -->
<ColumnDefinition Width="*"/>
<!-- 右边内容自适应宽度 -->
</Grid.ColumnDefinitions>
<!-- Input box and blue button on the left -->
<Grid Grid.Row="0" Grid.Column="0" Margin="10,10,10,10" Grid.ColumnSpan="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Grid.Column="0">
<TextBox x:Name="InputTextBox" Width="273" Height="30" IsEnabled="False"/>
<Button x:Name="SearchButton" Content="搜索" Width="102" Height="30" Style="{StaticResource SearchButtonStyle}" Click="SearchButton_Click" IsEnabled="False"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Grid.Column="1">
<Button Content="全选" Width="102" Height="30" Style="{StaticResource {x:Type Button}}" Click="SelectAllButton_Click"/>
<Button Content="反选" Width="102" Height="30" Style="{StaticResource {x:Type Button}}" Click="InvertSelectionButton_Click"/>
<Button Content="下载选中" Width="102" Height="30" Style="{StaticResource DownloadSelectedButtonStyle}" Click="DownloadSelectedButton_Click" />
<Button Content="软件激活" Width="102" Height="30" Style="{StaticResource ActivationButtonStyle}" Click="ActivationButton_Click"/>
<Button Content="设置" Width="102" Height="30" Style="{StaticResource SettingsButtonStyle}" Click="SettingsButton_Click"/>
</StackPanel>
</Grid>
<!-- Smaller list box on the left -->
<ListBox x:Name="SmallListBox" Grid.Row="1" Grid.Column="0" Margin="10,10,10,10" SelectionChanged="SmallListBox_SelectionChanged">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="White" BlurRadius="10" ShadowDepth="0"/>
</Setter.Value>
</Setter>
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="#c5e1a5"/>
<Setter Property="BorderBrush" Value="#8bc34a"/>
<Setter Property="BorderThickness" Value="1"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#b3e5fc"/>
</Trigger>
</Style.Triggers>
</Style>
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="5">
<Image Source="{Binding Img}" Width="50" Height="50" Stretch="UniformToFill" Margin="5">
<Image.Clip>
<EllipseGeometry Center="25,25" RadiusX="25" RadiusY="25"/>
</Image.Clip>
</Image>
<TextBlock Text="{Binding Name}" VerticalAlignment="Center" Margin="10,0,0,0" TextTrimming="CharacterEllipsis" Width="150"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<!-- Larger list box on the right -->
<Border Grid.Row="1" Grid.Column="1" Margin="10,10,10,10" BorderBrush="#42a5f5" BorderThickness="0.5">
<Grid>
<ScrollViewer Margin="10,10,10,9">
<ItemsControl x:Name="LargeListBox">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" ItemWidth="200" ItemHeight="250"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel Width="200" Height="250" Margin="5">
<Border Background="White" BorderBrush="#42a5f5" BorderThickness="0.5">
<StackPanel>
<Grid>
<Image Source="{Binding Img}" Width="200" Height="200" Stretch="UniformToFill" Margin="5" MouseDown="Image_MouseDown"/>
<TextBlock Text="{Binding Name}" VerticalAlignment="Bottom" Background="#80000000" Foreground="White" Padding="5"/>
<CheckBox x:Name="SelectionCheckBox" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="10"/>
</Grid>
<TextBlock Text="{Binding Title}" Margin="5,10,5,0" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap"/>
</StackPanel>
</Border>
</StackPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</Grid>
</Border>
<!-- Green progress bar at the bottom -->
<ProgressBar x:Name="ProgressBar" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="10,10,10,10"
Foreground="#4caf50" Value="0" Height="10"/>
</Grid>
</Grid>
</Border>
</Window>
软件效果:
软件界面:
附:
激活码:SPHr379fu1q2em8zxtoylas4i6nvcj05whdp 类型:临时会员
激活码:SPH2v1hor9lei70nugz38w6bfsqcy4pdxmkt 类型:临时会员
激活码:SPHof98ty3xh16zaqpu7gcv5injkw02bmr4s 类型:临时会员
激活码:SPH8zobn76aqypucd5gsf1k2jehrlx493t0i 类型:临时会员
激活码:SPHvcex4jq6gybm1t372lkwsa0orzidhu95f 类型:临时会员
激活码:SPHv3yxpsndb61kgit4af79mloh0czj8wq5e 类型:临时会员
激活码:SPHusk1e270hanbdqrgyf6p93vjctilxzmw4 类型:临时会员
激活码:SPHif2q0usyc43amwrvg7ojp9xh8e65lzdkn 类型:临时会员
激活码:SPH7cspnxfl19025h4uraoem8dqtvzwbigk3 类型:临时会员
激活码:SPHn5jdbikfwqpu9l8z12g04cax6evryh7ts 类型:临时会员
激活码:SPH0lqkir1ye76ujzc35428p9wgomfhxbsta 类型:临时会员
激活码:SPHwz9ji1a5p3bgo6secrmlk2ytqxhdf07uv 类型:临时会员
激活码:SPHu8bhlsjdvya5w3n7go24kc6fmtrzpieq1 类型:临时会员
激活码:SPHebxckvqsnu74d8f59awjgtz1l62im3r0h 类型:临时会员
激活码:SPHx6eoznmigu4vrj0kcly19hp37qst25dab 类型:临时会员
激活码:SPHd5f7y2zkrbhwv1xum3cels4pni690g8qo 类型:临时会员
激活码:SPHbny4vs7emkwo502ru9zqch1x3tjf68iga 类型:临时会员
激活码:SPHt3cy2pbzalr1imqoux5eh9vn8dgf06w4j 类型:临时会员
激活码:SPH6hfzdvo7wq983ler20gbk1mcypxtnsjia 类型:临时会员
激活码:SPH51tjs63gvufqo9r2kmh8xbin40zec7wpa 类型:临时会员
激活码:SPHjkwqczvronfmap685dbl97t1i3gx2sh40 类型:临时会员
激活码:SPH8nswik0fujg6erhbac7z93xdm5vpqt12y 类型:临时会员
激活码:SPHsbcmnewdivp2u4k5taz1y908hofqlg7j6 类型:临时会员
激活码:SPHj78v0r3xe6cnygbuw4po2th5i9aqfk1md 类型:临时会员
激活码:SPHqf3iv7s4hpjx2lno0m8yb9tkc5zdwg6ea 类型:临时会员
激活码:SPHnpm6q2vuwthizde5sx1a89ljgyrckof03 类型:临时会员
激活码:SPHej6rodv4nbz9ckm2q8u7fhls5tig1yaxp 类型:临时会员
激活码:SPHkuf96yqn1eb5zhpatx8wj3vlgc40imrod 类型:临时会员
激活码:SPHi2lqynhg8fpv5s7c1adeubo340jrk6t9x 类型:临时会员