PageSetupLink.xaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <local:MyPageRight
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:PCL" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d" x:Class="PageSetupLink"
  6. d:DesignWidth="800" d:DesignHeight="800">
  7. <local:MyScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" x:Name="PanBack">
  8. <StackPanel x:Name="PanMain" Margin="25,10">
  9. <local:MyCard Margin="0,20,0,-5" Title="通用设置">
  10. <StackPanel Margin="25,40,25,15">
  11. <Grid>
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition Width="Auto" SharedSizeGroup="Name" />
  14. <ColumnDefinition Width="1*" />
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="28" />
  18. </Grid.RowDefinitions>
  19. <TextBlock Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Left" Text="玩家名" Margin="0,0,25,0" />
  20. <local:MyTextBox x:Name="TextLinkName" Grid.Row="0" Grid.ColumnSpan="2" Tag="LinkName" Grid.Column="1">
  21. <local:MyTextBox.ValidateRules>
  22. <local:ValidateNullable />
  23. <local:ValidateNullOrWhiteSpace />
  24. <local:ValidateLength Max="20" />
  25. <local:ValidateFilter />
  26. </local:MyTextBox.ValidateRules>
  27. </local:MyTextBox>
  28. </Grid>
  29. <local:MyCheckBox Text="打开启动器时启动联机模块" Height="22" x:Name="CheckLinkAuto" Tag="LinkAuto" ToolTipService.ShowDuration="2333333" Margin="0,10,0,4"
  30. ToolTip="开启联机模块的人越多,所有使用 PCL2 的玩家的初次连接速度就会越快。因此,启用此项可以为大家作出贡献。&#13;联机模块仅使用少许网络带宽,几乎不使用硬盘与 CPU。" />
  31. </StackPanel>
  32. </local:MyCard>
  33. </StackPanel>
  34. </local:MyScrollViewer>
  35. </local:MyPageRight>