Browse Source

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

tags/录制修改前
耀 4 years ago
parent
commit
ee12a85ae5

+ 1
- 1
XHWK.WKTool/CreateAMicroLessonWindow.xaml View File

62
             </Button>
62
             </Button>
63
         </StackPanel>
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
             <Button.Template>
66
             <Button.Template>
67
                 <ControlTemplate TargetType="{x:Type Button}">
67
                 <ControlTemplate TargetType="{x:Type Button}">
68
                     <Border
68
                     <Border

+ 1
- 0
XHWK.WKTool/KeyVerification.xaml View File

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

+ 1
- 1
XHWK.WKTool/LoginWindow.xaml View File

112
         </StackPanel>
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
             <Button.Template>
116
             <Button.Template>
117
                 <ControlTemplate TargetType="{x:Type Button}">
117
                 <ControlTemplate TargetType="{x:Type Button}">
118
                     <Border
118
                     <Border

+ 1
- 1
XHWK.WKTool/MessageWindow.xaml View File

26
         </Grid>
26
         </Grid>
27
         <Grid Grid.Row="2" Margin="0,0,0,0">
27
         <Grid Grid.Row="2" Margin="0,0,0,0">
28
             <Border x:Name="borOk" Background="#2D8CF0" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,30,20">
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
             </Border>
30
             </Border>
31
             <Border x:Name="borCancel" Background="#E5E5E5" CornerRadius="6"  HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,150,20">
31
             <Border x:Name="borCancel" Background="#E5E5E5" CornerRadius="6"  HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,150,20">
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"/>
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 View File

68
                 </ComboBox.Resources>
68
                 </ComboBox.Resources>
69
             </ComboBox>
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
                 <Button.Template>
72
                 <Button.Template>
73
                     <ControlTemplate TargetType="{x:Type Button}">
73
                     <ControlTemplate TargetType="{x:Type Button}">
74
                         <Border
74
                         <Border

Loading…
Cancel
Save