|
@@ -318,18 +318,18 @@
|
318
|
318
|
MouseWheel="IMG1_MouseWheel" >
|
319
|
319
|
</ContentControl>
|
320
|
320
|
</ScrollViewer>-->
|
321
|
|
- <!--图片表框 -->
|
322
|
|
- <Rectangle x:Name="RectImgBorder" Cursor="SizeAll" Fill="#00000000" HorizontalAlignment="Left" Stroke="#2D8CF0" VerticalAlignment="Top" Width="300" Height="300" Visibility="Hidden" Margin="373,175,0,0" StrokeThickness="4" StrokeDashArray="4 4" SnapsToDevicePixels="True"/>
|
323
|
|
- <Image Name="imgCanvas" Height="0" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Fill" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown" Focusable="True" MouseMove="imgCanvas_MouseMove" MouseUp="imgCanvas_MouseUp"/>
|
324
|
|
- <!--四个点 -->
|
325
|
|
- <Canvas>
|
326
|
|
- <Thumb x:Name="RectLeftUp" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
327
|
|
- <Thumb x:Name="RectRightUp" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
328
|
|
- <Thumb x:Name="RectLeftDown" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
329
|
|
- <Thumb x:Name="RectRightDown" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
330
|
|
- </Canvas>
|
331
|
|
- </Grid>
|
332
|
|
- </Border>
|
|
321
|
+ <!--图片表框 -->
|
|
322
|
+ <Rectangle x:Name="RectImgBorder" Cursor="SizeAll" Fill="#00000000" HorizontalAlignment="Left" Stroke="#2D8CF0" VerticalAlignment="Top" Width="300" Height="300" Visibility="Hidden" Margin="373,175,0,0" StrokeThickness="4" StrokeDashArray="4 4" SnapsToDevicePixels="True"/>
|
|
323
|
+ <Image x:Name="imgCanvas" Height="0" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Fill" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown" Focusable="True" MouseMove="imgCanvas_MouseMove" MouseUp="imgCanvas_MouseUp"/>
|
|
324
|
+ <!--四个点 -->
|
|
325
|
+ <Canvas>
|
|
326
|
+ <Thumb x:Name="RectLeftUp" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
327
|
+ <Thumb x:Name="RectRightUp" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
328
|
+ <Thumb x:Name="RectLeftDown" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
329
|
+ <Thumb x:Name="RectRightDown" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
|
|
330
|
+ </Canvas>
|
|
331
|
+ </Grid>
|
|
332
|
+ </Border>
|
333
|
333
|
</Grid>
|
334
|
334
|
<Image x:Name="imgDocumentation" Visibility="Visible" Stretch="Fill"/>
|
335
|
335
|
<!--<Grid Width="auto" Height="auto" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
@@ -338,11 +338,11 @@
|
338
|
338
|
</Border>
|
339
|
339
|
</Grid>-->
|
340
|
340
|
<Image x:Name="imgPPT" Visibility="Visible" VerticalAlignment="Top"/>
|
341
|
|
- <!--导入图片-->
|
342
|
|
- <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
|
343
|
|
- <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2"/>
|
344
|
|
- <!--摄像头-->
|
345
|
|
- <!--<wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Height="124" Width="172" HorizontalAlignment="Right" Margin="0,10,30.10,0" VerticalAlignment="Top">
|
|
341
|
+ <!--导入图片-->
|
|
342
|
+ <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
|
|
343
|
+ <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2"/>
|
|
344
|
+ <!--摄像头-->
|
|
345
|
+ <!--<wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Height="124" Width="172" HorizontalAlignment="Right" Margin="0,10,30.10,0" VerticalAlignment="Top">
|
346
|
346
|
<aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
|
347
|
347
|
</wfi:WindowsFormsHost>-->
|
348
|
348
|
<!--<Image x:Name="imgLoad"
|
|
@@ -438,14 +438,16 @@
|
438
|
438
|
<Button.Template>
|
439
|
439
|
<ControlTemplate TargetType="{x:Type Button}">
|
440
|
440
|
<Border
|
441
|
|
- BorderBrush="{TemplateBinding Control.BorderBrush}"
|
|
441
|
+ BorderBrush="{TemplateBinding BorderBrush}"
|
442
|
442
|
BorderThickness="1"
|
443
|
443
|
CornerRadius="2">
|
444
|
|
- <Border.Background>#EBEFF3</Border.Background>
|
|
444
|
+ <Border.Background>
|
|
445
|
+ <Brush>#EBEFF3</Brush>
|
|
446
|
+ </Border.Background>
|
445
|
447
|
<ContentPresenter
|
446
|
448
|
HorizontalAlignment="Center"
|
447
|
449
|
VerticalAlignment="Center"
|
448
|
|
- Content="{TemplateBinding ContentControl.Content}" />
|
|
450
|
+ Content="{TemplateBinding Content}" />
|
449
|
451
|
</Border>
|
450
|
452
|
</ControlTemplate>
|
451
|
453
|
</Button.Template>
|
|
@@ -471,14 +473,16 @@
|
471
|
473
|
<Button.Template>
|
472
|
474
|
<ControlTemplate TargetType="{x:Type Button}">
|
473
|
475
|
<Border
|
474
|
|
- BorderBrush="{TemplateBinding Control.BorderBrush}"
|
|
476
|
+ BorderBrush="{TemplateBinding BorderBrush}"
|
475
|
477
|
BorderThickness="1"
|
476
|
478
|
CornerRadius="2">
|
477
|
|
- <Border.Background>#2D8CF0</Border.Background>
|
|
479
|
+ <Border.Background>
|
|
480
|
+ <Brush>#2D8CF0</Brush>
|
|
481
|
+ </Border.Background>
|
478
|
482
|
<ContentPresenter
|
479
|
483
|
HorizontalAlignment="Center"
|
480
|
484
|
VerticalAlignment="Center"
|
481
|
|
- Content="{TemplateBinding ContentControl.Content}" />
|
|
485
|
+ Content="{TemplateBinding Content}" />
|
482
|
486
|
</Border>
|
483
|
487
|
</ControlTemplate>
|
484
|
488
|
</Button.Template>
|
|
@@ -553,11 +557,9 @@
|
553
|
557
|
x:Name="btnLastPage"
|
554
|
558
|
Width="60" Height="20"
|
555
|
559
|
Click="BtnLastPage_Click">
|
556
|
|
- <Button.Content>
|
557
|
|
- <StackPanel>
|
558
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
559
|
|
- </StackPanel>
|
560
|
|
- </Button.Content>
|
|
560
|
+ <StackPanel>
|
|
561
|
+ <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
|
562
|
+ </StackPanel>
|
561
|
563
|
</Button>
|
562
|
564
|
<Grid Width="60" Background="Transparent">
|
563
|
565
|
<Grid.RowDefinitions>
|
|
@@ -576,11 +578,9 @@
|
576
|
578
|
x:Name="btnNextPage" Background="Transparent"
|
577
|
579
|
Width="60" Height="20"
|
578
|
580
|
Click="BtnNextPage_Click">
|
579
|
|
- <Button.Content>
|
580
|
|
- <StackPanel>
|
581
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
582
|
|
- </StackPanel>
|
583
|
|
- </Button.Content>
|
|
581
|
+ <StackPanel>
|
|
582
|
+ <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
|
583
|
+ </StackPanel>
|
584
|
584
|
</Button>
|
585
|
585
|
</StackPanel>
|
586
|
586
|
</Grid>
|
|
@@ -645,11 +645,9 @@
|
645
|
645
|
Width="28" Height="20"
|
646
|
646
|
Click="last_button_Click">
|
647
|
647
|
|
648
|
|
- <Button.Content>
|
649
|
|
- <StackPanel>
|
650
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
651
|
|
- </StackPanel>
|
652
|
|
- </Button.Content>
|
|
648
|
+ <StackPanel>
|
|
649
|
+ <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
|
|
650
|
+ </StackPanel>
|
653
|
651
|
</Button>
|
654
|
652
|
<Grid Width="60" Background="Transparent" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
|
655
|
653
|
<Grid.RowDefinitions>
|
|
@@ -668,11 +666,9 @@
|
668
|
666
|
x:Name="next_btn" Background="Transparent"
|
669
|
667
|
Width="28" Height="20"
|
670
|
668
|
Click="next_btn_Click">
|
671
|
|
- <Button.Content>
|
672
|
|
- <StackPanel>
|
673
|
|
- <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
674
|
|
- </StackPanel>
|
675
|
|
- </Button.Content>
|
|
669
|
+ <StackPanel>
|
|
670
|
+ <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
|
|
671
|
+ </StackPanel>
|
676
|
672
|
</Button>
|
677
|
673
|
</StackPanel>
|
678
|
674
|
</Grid>
|