注销多余菜单按钮

dev
洁 任 2025-03-26 11:30:11 +08:00
parent 58847a8ed0
commit 28398b4e42
3 changed files with 16 additions and 16 deletions

View File

@ -25,11 +25,11 @@
<Button h:Cattach.Icon="&#xe892;" Command="{Binding UploadCommand}" Content="多文件上传" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe892;" Command="{Binding UploadCommand1}" Content="文件夹上传" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe891;" Content="下载" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe763;" Content="分享" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe643;" Content="删除" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<!--<Button h:Cattach.Icon="&#xe891;" Content="下载" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe763;" Content="分享" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />-->
<!--<Button h:Cattach.Icon="&#xe643;" Content="删除" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe688;" Content="新建文件夹" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe84f;" Content="离线下载" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />
<Button h:Cattach.Icon="&#xe84f;" Content="离线下载" Style="{DynamicResource {x:Static h:ButtonKeys.Dynamic}}" />-->
</StackPanel>
<h:Explorer Margin="0,0,10,0" CurrentPath="{Binding Path, Mode=TwoWay}" Style="{DynamicResource {x:Static h:Explorer.DefaultKey}}">

View File

@ -33,24 +33,24 @@
</h:FProgressBar.Triggers>-->
</h:FProgressBar>
<!--<TextBlock Grid.Column="7" Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}" Text="184 KB/s" />-->
<Button Grid.Column="8"
<!--<Button Grid.Column="8"
Margin="10,0"
Content="全部暂停"
Style="{DynamicResource {x:Static h:ButtonKeys.BorderBrushTransparent}}" />
<Button Grid.Column="9" Content="全部取消" Style="{DynamicResource {x:Static h:ButtonKeys.BorderBrushTransparent}}" />
<Button Grid.Column="9" Content="全部取消" Style="{DynamicResource {x:Static h:ButtonKeys.BorderBrushTransparent}}" />-->
</h:Row>
<Grid Height="60" DockPanel.Dock="Top" TextBlock.Foreground="{DynamicResource {x:Static h:BrushKeys.Orange}}">
<Border Background="{DynamicResource {x:Static h:BrushKeys.Orange}}" Opacity="0.2" />
<TextBlock Margin="10,0"
<!--<TextBlock Margin="10,0"
HorizontalAlignment="Left"
FontSize="20"
Style="{DynamicResource {x:Static h:TextBlockKeys.Icon}}"
Text="&#xe771;" />
Text="&#xe771;" />-->
<TextBlock Margin="40,0,10,0"
<!--<TextBlock Margin="40,0,10,0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontStyle="Oblique"
@ -64,7 +64,7 @@
Background="{DynamicResource {x:Static h:BrushKeys.Orange}}"
Content="免费试用"
Foreground="{DynamicResource {x:Static h:BrushKeys.ForegroundWhite}}"
Style="{DynamicResource {x:Static h:ButtonKeys.Transparent}}" />
Style="{DynamicResource {x:Static h:ButtonKeys.Transparent}}" />-->
</Grid>
<ListBox h:Cattach.ItemHeight="Auto" Style="{DynamicResource {x:Static h:ListBoxKeys.Single}}"
@ -139,7 +139,7 @@
Style="{DynamicResource {x:Static h:TextBlockKeys.Default}}"
Text="{Binding Value3}" />
<StackPanel Grid.RowSpan="2"
<!--<StackPanel Grid.RowSpan="2"
Grid.Column="4"
HorizontalAlignment="Center"
VerticalAlignment="Center"
@ -147,13 +147,13 @@
<Button h:Cattach.Icon="&#xe76e;" />
<Button h:Cattach.Icon="&#xe8a0;" h:Cattach.IconSize="13" />
<Button h:Cattach.Icon="&#xe87a;" h:Cattach.IconSize="15" />
</StackPanel>
</StackPanel>-->
<Border Grid.RowSpan="11"
<!--<Border Grid.RowSpan="11"
Grid.ColumnSpan="11"
Margin="0,0,0,-8"
BorderBrush="{DynamicResource {x:Static h:BrushKeys.BorderBrushDefault}}"
BorderThickness="0,0,0,1" />
BorderThickness="0,0,0,1" />-->
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>

View File

@ -15,8 +15,8 @@ namespace HeBianGu.App.Disk
{
LinkActions.Add(new LinkAction() { Action = "Down", Controller = "Send", DisplayName = "正在下载", Logo = "\xe6f3" });
LinkActions.Add(new LinkAction() { Action = "UpLoad", Controller = "Send", DisplayName = "正在上传", Logo = "\xe6fe" });
LinkActions.Add(new LinkAction() { Action = "Down", Controller = "Send", DisplayName = "传输完成", Logo = "\xe613" });
LinkActions.Add(new LinkAction() { Action = "Down", Controller = "Send", DisplayName = "文件快传", Logo = "\xe764" });
//LinkActions.Add(new LinkAction() { Action = "Down", Controller = "Send", DisplayName = "传输完成", Logo = "\xe613" });
//LinkActions.Add(new LinkAction() { Action = "Down", Controller = "Send", DisplayName = "文件快传", Logo = "\xe764" });
Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(() =>