Quellcode durchsuchen

zhao:1确认按钮增加快捷Enter键

tags/录制修改前
耀 vor 4 Jahren
Ursprung
Commit
ee12a85ae5

+ 1
- 1
XHWK.WKTool/CreateAMicroLessonWindow.xaml Datei anzeigen

@@ -62,7 +62,7 @@
62 62
             </Button>
63 63
         </StackPanel>
64 64
         <!--第四行 开始按钮-->
65
-        <Button  Cursor="Hand" Grid.Row="3" x:Name="btnStart" Content="开始" FontSize="18" FontWeight="Bold" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="386" Height="48" Margin="30,0,30,0" Click="BtnStart_Click" Grid.ColumnSpan="2">
65
+        <Button  Cursor="Hand" Grid.Row="3" x:Name="btnStart" IsDefault="True" Content="开始" FontSize="18" FontWeight="Bold" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="386" Height="48" Margin="30,0,30,0" Click="BtnStart_Click" Grid.ColumnSpan="2">
66 66
             <Button.Template>
67 67
                 <ControlTemplate TargetType="{x:Type Button}">
68 68
                     <Border

+ 1
- 0
XHWK.WKTool/KeyVerification.xaml Datei anzeigen

@@ -113,6 +113,7 @@
113 113
             <Button Cursor="Hand"
114 114
                 x:Name="btnEnd"
115 115
                 Grid.Row="2"
116
+                    IsDefault="True"
116 117
                 Height="48"
117 118
                 Margin="30,0,30,0"
118 119
                 Click="btnEnd_Click"

+ 1
- 1
XHWK.WKTool/LoginWindow.xaml Datei anzeigen

@@ -112,7 +112,7 @@
112 112
         </StackPanel>
113 113
 
114 114
         <!--第五行 开始按钮-->
115
-        <Button  Cursor="Hand" Grid.Row="4" x:Name="btnStart" Content="登录" FontSize="18" Foreground="#FFFFFF" FontWeight="Bold" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="394" Height="48" Margin="30,0,30,0" Click="BtnStart_Click">
115
+        <Button  Cursor="Hand" Grid.Row="4" x:Name="btnStart" Content="登录" FontSize="18" Foreground="#FFFFFF" FontWeight="Bold" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="394" Height="48" Margin="30,0,30,0" Click="BtnStart_Click" IsDefault="True">
116 116
             <Button.Template>
117 117
                 <ControlTemplate TargetType="{x:Type Button}">
118 118
                     <Border

+ 1
- 1
XHWK.WKTool/MessageWindow.xaml Datei anzeigen

@@ -26,7 +26,7 @@
26 26
         </Grid>
27 27
         <Grid Grid.Row="2" Margin="0,0,0,0">
28 28
             <Border x:Name="borOk" Background="#2D8CF0" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,30,20">
29
-                <Button x:Name="BtnOK" Width="104" Height="42" Content="确定" FontSize="20"  Background="#00000000"  BorderBrush="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White"  Cursor="Hand" Click="BtnOK_Click"/>
29
+                <Button x:Name="BtnOK" Width="104" Height="42" Content="确定" FontSize="20"  Background="#00000000"  BorderBrush="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White"  Cursor="Hand" Click="BtnOK_Click" IsDefault="True"/>
30 30
             </Border>
31 31
             <Border x:Name="borCancel" Background="#E5E5E5" CornerRadius="6"  HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,150,20">
32 32
                 <Button x:Name="BtnCancel" Width="104" Height="42" Content="取消" FontSize="20" Background="#00000000" BorderBrush="{x:Null}"  Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"  Cursor="Hand" Click="BtnCancel_Click"/>

+ 1
- 1
XHWK.WKTool/UploadWindow.xaml Datei anzeigen

@@ -68,7 +68,7 @@
68 68
                 </ComboBox.Resources>
69 69
             </ComboBox>
70 70
             <!--第四行 开始按钮-->
71
-            <Button  Cursor="Hand" Grid.Row="4" x:Name="btnStart" Content="确定" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="418" Height="43" Margin="10,0,10,0" Click="BtnStart_Click">
71
+            <Button  Cursor="Hand" Grid.Row="4" IsDefault="True" x:Name="btnStart" Content="确定" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="418" Height="43" Margin="10,0,10,0" Click="BtnStart_Click">
72 72
                 <Button.Template>
73 73
                     <ControlTemplate TargetType="{x:Type Button}">
74 74
                         <Border

Laden…
Abbrechen
Speichern