代码拉取完成,页面将自动刷新
同步操作将从 cygsd/Chess 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<Page x:Class="Chess.CanJuSheJi"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Chess"
mc:Ignorable="d"
Title="QiPanPage" Loaded="MainFormLoaded" UseLayoutRounding="True" SnapsToDevicePixels="True">
<Grid>
<Viewbox StretchDirection="DownOnly">
<Grid x:Name="mainGrid" Width="767" Height="900">
<Border BorderThickness="3" CornerRadius="5,5,5,5" Style="{DynamicResource borderStyle}"/>
<Image x:Name="qipan_topBlack" Stretch="None" Source="/picture/棋盘(黑上).png" StretchDirection="Both" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Visible">
<Image.Effect>
<DropShadowEffect Color="#FF7B7A7A" Opacity="1" BlurRadius="10"/>
</Image.Effect>
</Image>
<Image x:Name="qipan_topRed" Source="/picture/棋盘(红上).png" Stretch="None" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Hidden" >
<Image.Effect>
<DropShadowEffect Color="#FF7B7A7A" Opacity="1" BlurRadius="10"/>
</Image.Effect>
</Image>
<Canvas x:Name="qiziCanvas" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="767" Height="842" MinWidth="767" MaxWidth="767" MinHeight="842" MaxHeight="842" ScrollViewer.VerticalScrollBarVisibility="Disabled" Cursor="Arrow">
</Canvas>
<StackPanel VerticalAlignment="Bottom" ScrollViewer.VerticalScrollBarVisibility="Disabled" HorizontalAlignment="Right" Width="149" Margin="0,0,0,45">
<Button Content="保存残局" Style="{DynamicResource button}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="70" Click="SaveCanJu"/>
<Button Content="清空棋盘" Style="{DynamicResource button}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="70" Click="ClearQiPan" Margin="0,10,0,0"/>
</StackPanel>
<StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,0,0,10">
<WrapPanel Orientation="Vertical" Margin="20,0,0,0">
<TextBlock Text="残局名称:" Foreground="LightYellow"/>
<TextBox x:Name="CanJuName" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Center" Width="108" Background="#E5FFFFFF" ToolTip="残局名称" AutomationProperties.HelpText="残局名称" Foreground="#FF443E00" Padding="1,1,1,1" GotFocus="CanJuName_GotFocus" Margin="0,5,0,0"/>
</WrapPanel>
<WrapPanel Orientation="Vertical" Margin="20,0,0,0">
<TextBlock Text="残局说明:" Foreground="LightYellow"/>
<TextBox x:Name="Comment" Margin="0,5,0,0" TextWrapping="Wrap" VerticalAlignment="Center" Background="#E5FFFFFF" AutomationProperties.HelpText="残局说明" ToolTip="残局说明" Foreground="#FF443E00" Padding="1,1,1,1" HorizontalAlignment="Left" MinWidth="600"/>
</WrapPanel>
</StackPanel>
</Grid>
</Viewbox>
<TextBlock x:Name="SaveOk" Text="提示:已保存到残局数据库。" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,141,110" Background="#D8F2FB9B" Padding="3,2,3,2" Visibility="Hidden"/>
<TextBlock x:Name="SaveNotOk" Text="提示:保存未成功!" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,141,119" Background="#D8F2FB9B" Padding="3,2,3,2" Visibility="Hidden"></TextBlock>
</Grid>
</Page>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。