代码拉取完成,页面将自动刷新
<Window x:Class="FnSync.WindowFileManagerRename"
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:FnSync"
mc:Ignorable="d"
SizeToContent="Height"
Background="{DynamicResource {x:Static SystemColors.MenuBarBrushKey}}"
WindowStartupLocation="CenterScreen" Icon="Resources/icon.ico"
Title="{DynamicResource Rename}" Width="400" KeyDown="Window_KeyDown">
<Window.Resources>
<local:EmptyToDisableConverter x:Key="EmptyToDisableConverter" />
</Window.Resources>
<Grid Margin="8">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Label Content="{DynamicResource ProvideANewName}" Grid.Row="0" />
<TextBox x:Name="NameBox" Grid.Row="1" Padding="0,2"/>
<Grid Grid.Row="2" HorizontalAlignment="Center" Margin="0,8,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" Content="{DynamicResource OK}" Padding="8,4" Click="OkButton_Click" IsEnabled="{Binding Path=Text, ElementName=NameBox, Converter={StaticResource EmptyToDisableConverter}}"/>
<Button Grid.Column="1" Content="{DynamicResource Cancel}" Margin="8,0,0,0" Padding="8,4" Click="CancelButton_Click"/>
</Grid>
</Grid>
</Window>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。