|
@@ -9,7 +9,7 @@
|
9
|
9
|
xmlns:local="clr-namespace:XHWK.WKTool"
|
10
|
10
|
mc:Ignorable="d"
|
11
|
11
|
Title="星火微课系统" Height="1036" Width="1276"
|
12
|
|
- WindowStyle="None" AllowsTransparency="True" Background="Transparent" ShowInTaskbar="True" ResizeMode="CanMinimize" BorderThickness="7">
|
|
12
|
+ WindowStyle="None" WindowStartupLocation="CenterScreen" AllowsTransparency="True" Background="Transparent" ShowInTaskbar="True" ResizeMode="CanMinimize" BorderThickness="7">
|
13
|
13
|
<Window.Effect>
|
14
|
14
|
<DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
|
15
|
15
|
</Window.Effect>
|
|
@@ -139,17 +139,14 @@
|
139
|
139
|
</RadialGradientBrush>
|
140
|
140
|
</Window.BorderBrush>
|
141
|
141
|
|
142
|
|
- <Viewbox>
|
143
|
|
- <Canvas Height="1036" Width="1276">
|
144
|
|
-
|
145
|
|
-
|
146
|
|
- <Grid x:Name="GridContent" Height="1036" Width="1276">
|
|
142
|
+ <Viewbox Stretch="Fill">
|
|
143
|
+ <Grid x:Name="GridContent" Height="1036" Width="1276" >
|
147
|
144
|
|
148
|
145
|
<!--分3行-->
|
149
|
146
|
<Grid.RowDefinitions>
|
150
|
|
- <RowDefinition Height="10*"/>
|
|
147
|
+ <RowDefinition Height="10.2*"/>
|
151
|
148
|
<RowDefinition Height="86*"/>
|
152
|
|
- <RowDefinition Height="3.5*"/>
|
|
149
|
+ <RowDefinition Height="3.8*"/>
|
153
|
150
|
</Grid.RowDefinitions>
|
154
|
151
|
<Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0">
|
155
|
152
|
<Grid.RowDefinitions>
|
|
@@ -157,10 +154,12 @@
|
157
|
154
|
<RowDefinition Height="auto"/>
|
158
|
155
|
</Grid.RowDefinitions>
|
159
|
156
|
<!--第一行-->
|
|
157
|
+ <StackPanel Orientation="Horizontal" Grid.Row="0" x:Name="splOne">
|
160
|
158
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
|
161
|
159
|
<Image Source="./Images/microLessonSystem_0.png"/>
|
162
|
160
|
<TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
|
163
|
161
|
</StackPanel>
|
|
162
|
+
|
164
|
163
|
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,10,0">
|
165
|
164
|
<Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
|
166
|
165
|
<StackPanel Orientation="Horizontal">
|
|
@@ -178,7 +177,10 @@
|
178
|
177
|
<Image Source="./Images/microLessonSystem_10.png"/>
|
179
|
178
|
</Button>
|
180
|
179
|
</StackPanel>
|
|
180
|
+ </StackPanel>
|
|
181
|
+
|
181
|
182
|
<!--第二行-->
|
|
183
|
+ <StackPanel Grid.Row="1" x:Name="splTwo" Orientation="Horizontal">
|
182
|
184
|
<StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,6,0,0">
|
183
|
185
|
<Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
|
184
|
186
|
<StackPanel Orientation="Vertical">
|
|
@@ -255,6 +257,7 @@
|
255
|
257
|
</StackPanel>
|
256
|
258
|
</Button>
|
257
|
259
|
</StackPanel>
|
|
260
|
+ </StackPanel>
|
258
|
261
|
</Grid>
|
259
|
262
|
<!--主内容-->
|
260
|
263
|
<Grid Grid.Row="1" x:Name="GridMain" Width="1276" Visibility="Visible">
|
|
@@ -578,8 +581,7 @@
|
578
|
581
|
<TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,5,5,0"/>
|
579
|
582
|
</StackPanel>
|
580
|
583
|
</Grid>
|
581
|
|
- <Button Content="Button" HorizontalAlignment="Left" Margin="584,40,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click"/>
|
582
|
|
- </Grid>
|
583
|
|
- </Canvas>
|
|
584
|
+ <Button Content="Button" HorizontalAlignment="Left" Margin="584,40,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click"/>
|
|
585
|
+ </Grid>
|
584
|
586
|
</Viewbox>
|
585
|
587
|
</Window>
|