mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
refactor: 简化TextBlock写法
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<!-- A Style that affects all TextBlocks -->
|
||||
<Style BasedOn="{StaticResource TextBlockDefault}" TargetType="TextBlock" />
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
@@ -31,7 +31,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource CopilotLocation}" />
|
||||
<TextBox
|
||||
Width="300"
|
||||
@@ -87,18 +86,12 @@
|
||||
Content="{DynamicResource Stop}"
|
||||
Visibility="{c:Binding !Idle}" />
|
||||
</Grid>
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
<TextBlock Margin="5" Block.TextAlignment="Center">
|
||||
<Hyperlink Command="{s:Action Hyperlink_Click}" CommandParameter="{Binding Url}">
|
||||
<TextBlock Text="{Binding Url}" />
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
<TextBlock Margin="5" Block.TextAlignment="Center">
|
||||
<Hyperlink Command="{s:Action Hyperlink_Click2}">
|
||||
<TextBlock Text="{DynamicResource MapPrts}" />
|
||||
</Hyperlink>
|
||||
@@ -121,7 +114,6 @@
|
||||
Margin="5"
|
||||
FontWeight="{Binding Weight}"
|
||||
Foreground="{Binding Color}"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding Content}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
Margin="10"
|
||||
HorizontalAlignment="Left"
|
||||
FontSize="14"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding DepotResult}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
Margin="10"
|
||||
HorizontalAlignment="Left"
|
||||
FontSize="14"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding RecruitResult}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[0]}" />
|
||||
<local:GameClientUserControl
|
||||
Margin="20"
|
||||
@@ -58,7 +57,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[1]}" />
|
||||
<local:InfrastSettingsUserControl
|
||||
Margin="20"
|
||||
@@ -73,7 +71,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[2]}" />
|
||||
<local:RoguelikeSettingsUserControl
|
||||
Margin="20"
|
||||
@@ -88,7 +85,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[3]}" />
|
||||
<local:AutoRecruitSettingsUserControl
|
||||
Margin="20"
|
||||
@@ -103,7 +99,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[4]}" />
|
||||
<local:MallSettingsUserControl
|
||||
Margin="20"
|
||||
@@ -118,7 +113,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[5]}" />
|
||||
<local:OtherCombatSettingsUserControl
|
||||
Margin="20"
|
||||
@@ -133,7 +127,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[6]}" />
|
||||
<local:ConnectSettingsUserControl
|
||||
Margin="20"
|
||||
@@ -148,7 +141,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[7]}" />
|
||||
<local:StartSettingsUserControl Margin="20" HorizontalAlignment="Center" />
|
||||
<Rectangle
|
||||
@@ -160,7 +152,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[8]}" />
|
||||
<local:TimerSettingsUserControl Margin="20" HorizontalAlignment="Center" />
|
||||
<Rectangle
|
||||
@@ -172,7 +163,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[9]}" />
|
||||
<local:GUISettingsUserControl Margin="20" HorizontalAlignment="Center" />
|
||||
<Rectangle
|
||||
@@ -184,7 +174,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[10]}" />
|
||||
<local:HotKeySettingsUserControl Margin="20" HorizontalAlignment="Center" />
|
||||
<Rectangle
|
||||
@@ -196,7 +185,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[11]}" />
|
||||
<local:VersionUpdateSettingsUserControl Margin="20" HorizontalAlignment="Center" />
|
||||
<Rectangle
|
||||
@@ -208,7 +196,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding ListTitle[12]}" />
|
||||
<local:AboutUserControl Margin="20" HorizontalAlignment="Center" />
|
||||
<!--<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />-->
|
||||
|
||||
@@ -58,8 +58,8 @@
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<!--<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ID}" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=". " />-->
|
||||
<!--<TextBlock Text="{Binding ID}" />
|
||||
<TextBlock Text=". " />-->
|
||||
<CheckBox
|
||||
Content="{Binding Name}"
|
||||
IsChecked="{Binding IsChecked}"
|
||||
@@ -120,16 +120,15 @@
|
||||
Padding="5,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource Then}"
|
||||
TextWrapping="Wrap" />
|
||||
<ComboBox
|
||||
Grid.Column="1"
|
||||
Width="160"
|
||||
Margin="5"
|
||||
MaxDropDownHeight="800"
|
||||
DisplayMemberPath="Display"
|
||||
ItemsSource="{Binding ActionAfterCompletedList}"
|
||||
MaxDropDownHeight="800"
|
||||
SelectedValue="{Binding ActionAfterCompleted}"
|
||||
SelectedValuePath="Value" />
|
||||
</Grid>
|
||||
@@ -176,7 +175,6 @@
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Bottom"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding StagesOfToday}" />
|
||||
</Grid>
|
||||
|
||||
@@ -201,7 +199,6 @@
|
||||
Margin="0,5"
|
||||
VerticalAlignment="Top"
|
||||
Foreground="Gray"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding Time}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock
|
||||
@@ -210,7 +207,6 @@
|
||||
VerticalAlignment="Top"
|
||||
FontWeight="{Binding Weight}"
|
||||
Foreground="{Binding Color}"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding Content}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
Cursor="Hand"
|
||||
@@ -29,8 +28,7 @@
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
NavigateUri="{Binding Source={x:Static local:MaaUrls.GitHub}}"
|
||||
@@ -42,8 +40,7 @@
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
Cursor="Hand"
|
||||
@@ -56,8 +53,7 @@
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
NavigateUri="{Binding Source={x:Static local:MaaUrls.QQchannel}}"
|
||||
@@ -69,8 +65,7 @@
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
NavigateUri="{Binding Source={x:Static local:MaaUrls.Telegram}}"
|
||||
@@ -82,8 +77,7 @@
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
NavigateUri="{Binding Source={x:Static local:MaaUrls.HelpUri}}"
|
||||
@@ -95,8 +89,7 @@
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
NavigateUri="{Binding Source={x:Static local:MaaUrls.GitHubIssues}}"
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
Margin="5"
|
||||
VerticalAlignment="Center"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource RecruitMaxTimes}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBox
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
Grid.Column="0"
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource ADBPath}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBox
|
||||
@@ -80,7 +79,6 @@
|
||||
Grid.Column="0"
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource ConnectionAddress}"
|
||||
TextWrapping="Wrap" />
|
||||
<ComboBox
|
||||
@@ -100,7 +98,6 @@
|
||||
Grid.Column="0"
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource ConnectionPreset}"
|
||||
TextWrapping="Wrap" />
|
||||
<ComboBox
|
||||
@@ -128,7 +125,6 @@
|
||||
Grid.Row="5"
|
||||
Grid.Column="0"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource TouchMode}" />
|
||||
<ComboBox
|
||||
Grid.Row="5"
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource Quantity}"
|
||||
TextAlignment="Center" />
|
||||
</Grid>
|
||||
@@ -141,7 +140,6 @@
|
||||
Margin="10,6"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource StageSelect}"
|
||||
TextAlignment="Center"
|
||||
TextWrapping="Wrap" />
|
||||
@@ -151,7 +149,6 @@
|
||||
Margin="10,6"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource StageSelect2}"
|
||||
TextAlignment="Center"
|
||||
TextWrapping="Wrap" />
|
||||
@@ -162,7 +159,6 @@
|
||||
Margin="10,6"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text=""
|
||||
TextAlignment="Center"
|
||||
TextWrapping="Wrap" />
|
||||
@@ -172,7 +168,6 @@
|
||||
Margin="10,6"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource RemainingSanityStage}"
|
||||
TextAlignment="Center"
|
||||
TextWrapping="Wrap" />
|
||||
@@ -257,7 +252,6 @@
|
||||
Margin="10,6"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource CustomInfrastPlan}"
|
||||
TextAlignment="Center"
|
||||
TextWrapping="Wrap"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource MainViewButtonFeature}" />
|
||||
<ComboBox
|
||||
Width="85"
|
||||
@@ -54,7 +53,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource Language}" />
|
||||
<ComboBox
|
||||
x:Name="LanguageSelector"
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
Margin="10,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource ClientType}" />
|
||||
<ComboBox
|
||||
Width="200"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource HotKeyShowGui}" />
|
||||
<local:HotKeyEditorUserControl
|
||||
Margin="10"
|
||||
@@ -37,7 +36,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource HotKeyLinkStart}" />
|
||||
<local:HotKeyEditorUserControl
|
||||
Margin="10"
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<!--<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ID}" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=". " />-->
|
||||
<!--<TextBlock Text="{Binding ID}" />
|
||||
<TextBlock Text=". " />-->
|
||||
<CheckBox Content="{Binding Name}" IsChecked="{Binding IsChecked}" />
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
@@ -56,7 +56,6 @@
|
||||
Margin="0,5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource DroneUsage}" />
|
||||
<ComboBox
|
||||
Width="150"
|
||||
@@ -75,7 +74,6 @@
|
||||
Margin="0,5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding DormThresholdLabel}"
|
||||
ToolTip="{DynamicResource InfrastThresholdTip}" />
|
||||
<Slider
|
||||
@@ -151,7 +149,6 @@
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
HorizontalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource DefaultInfrast}" />
|
||||
<ComboBox
|
||||
Grid.Row="1"
|
||||
@@ -166,8 +163,7 @@
|
||||
Grid.Column="1"
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}">
|
||||
VerticalAlignment="Center">
|
||||
<Hyperlink
|
||||
Click="Hyperlink_Click"
|
||||
NavigateUri="{Binding Source={x:Static local:MaaUrls.CustomInfrastGenerator}}"
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource Blacklist}" />
|
||||
<TextBox
|
||||
Width="250"
|
||||
@@ -71,7 +70,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource HighPriority}" />
|
||||
<TextBox
|
||||
Width="250"
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource PenguinID}" />
|
||||
<TextBox
|
||||
Width="150"
|
||||
|
||||
@@ -21,10 +21,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Top"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource RoguelikeTheme}" />
|
||||
<TextBlock Margin="10" Text="{DynamicResource RoguelikeTheme}" />
|
||||
<ComboBox
|
||||
Width="110"
|
||||
IsHitTestVisible="{Binding Idle}"
|
||||
@@ -40,7 +37,6 @@
|
||||
<TextBlock
|
||||
Margin="10"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource Strategy}" />
|
||||
<ComboBox
|
||||
Width="300"
|
||||
@@ -57,7 +53,6 @@
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource StartTimesLimit}"
|
||||
TextWrapping="Wrap" />
|
||||
<hc:TextBox
|
||||
@@ -79,7 +74,6 @@
|
||||
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource GoldTimesLimit}"
|
||||
TextWrapping="Wrap" />
|
||||
<hc:TextBox
|
||||
@@ -113,7 +107,6 @@
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Block.TextAlignment="Right"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource StartingSquad}" />
|
||||
<ComboBox
|
||||
Width="300"
|
||||
@@ -133,7 +126,6 @@
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Block.TextAlignment="Right"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource StartingRoles}" />
|
||||
<ComboBox
|
||||
Width="300"
|
||||
@@ -153,7 +145,6 @@
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Block.TextAlignment="Right"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource StartingCoreChar}"
|
||||
TextWrapping="Wrap" />
|
||||
<hc:TextBox
|
||||
|
||||
@@ -63,7 +63,6 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource EmulatorPath}" />
|
||||
<Button
|
||||
Margin="10,0,0,0"
|
||||
@@ -77,10 +76,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource AdditionCommand}" />
|
||||
<TextBlock Block.TextAlignment="Center" Text="{DynamicResource AdditionCommand}" />
|
||||
</StackPanel>
|
||||
<TextBox Margin="20,5" Text="{Binding EmulatorAddCommand}" />
|
||||
</StackPanel>
|
||||
@@ -92,7 +88,6 @@
|
||||
<TextBlock
|
||||
Margin="3"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource WaitForEmulator}" />
|
||||
<TextBox
|
||||
Width="50"
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[0].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[0].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
@@ -85,7 +85,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[1].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[1].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
@@ -121,7 +121,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[2].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[2].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
@@ -157,7 +157,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[3].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[3].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
@@ -193,7 +193,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[4].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[4].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
@@ -229,7 +229,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[5].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[5].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
@@ -265,7 +265,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[6].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[6].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
@@ -301,7 +301,7 @@
|
||||
IsReadOnly="{c:Binding !TimerModels.Timers[7].IsOn}"
|
||||
Text="{Binding TimerModels.Timers[7].Hour, StringFormat=D2}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text=":" />
|
||||
<TextBlock Text=":" />
|
||||
<TextBox
|
||||
Width="35"
|
||||
Margin="10"
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
<TextBlock
|
||||
Margin="10,10,0,10"
|
||||
Block.TextAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{DynamicResource UpdateCheck}" />
|
||||
<ComboBox
|
||||
Width="120"
|
||||
@@ -78,7 +77,6 @@
|
||||
Grid.Row="0"
|
||||
Margin="1"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="Http Proxy" />
|
||||
<TextBox
|
||||
Grid.Row="1"
|
||||
@@ -92,7 +90,6 @@
|
||||
Margin="10"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Style="{StaticResource TextBlockDefault}"
|
||||
Text="{Binding VersionInfo, Mode=OneWay}" />
|
||||
<Button
|
||||
Grid.Row="3"
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
<mdxam:MarkdownScrollViewer
|
||||
x:Name="UpdateInfoMarkdownDocument"
|
||||
Grid.Row="1"
|
||||
Language="zh-CN"
|
||||
Margin="16,0"
|
||||
ClickAction="DisplayWithRelativePath"
|
||||
Language="zh-CN"
|
||||
Markdown="{Binding UpdateInfo}"
|
||||
MarkdownStyleName="GithubLike" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user