1
- <UserControl x : Class = " DlgConvertNcm "
1
+ <UserControl
2
2
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
3
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4
4
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
5
5
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
6
6
xmlns : mD =" http://materialdesigninxaml.net/winfx/xaml/themes"
7
7
xmlns : local =" clr-namespace:WalkmanManager"
8
+ xmlns : i =" http://schemas.microsoft.com/expression/2010/interactivity" xmlns : ei =" http://schemas.microsoft.com/expression/2010/interactions" x : Class =" DlgConvertNcm"
8
9
mc : Ignorable =" d"
9
- d : DesignHeight =" 450" Width =" 800" Background =" White" >
10
- <Grid >
11
- <mD : ColorZone Height =" 40" Mode =" PrimaryMid" >
12
- <Grid >
13
- <Label HorizontalAlignment =" Left" VerticalContentAlignment =" Center" Foreground =" White" >转换网易云加密音乐</Label >
14
- <Button x : Name =" ButtonClose" HorizontalAlignment =" Right" Height =" Auto" mD:ShadowAssist.ShadowDepth=" Depth0" >
15
- <mD : PackIcon Kind =" Close" />
16
- </Button >
17
- <Button HorizontalAlignment =" Right" Height =" Auto" mD:ShadowAssist.ShadowDepth=" Depth0" Margin =" 0,0,48,0" >
18
- <mD : PackIcon Kind =" Minus" />
19
- </Button >
20
- </Grid >
21
- </mD : ColorZone >
22
- <Grid Margin =" 0,40,0,0" >
23
- <mD : ColorZone Height =" 50" Background =" AntiqueWhite" BorderThickness =" 0,0,0,1" BorderBrush =" BurlyWood" mD:ShadowAssist.ShadowDepth=" Depth1" >
24
- <Grid Margin =" 15,0,0,0" >
25
- <ProgressBar x : Name =" ProgressBarWorking" Style =" {DynamicResource MaterialDesignCircularProgressBar}" IsIndeterminate =" True" HorizontalAlignment =" Left" />
26
- <mD : PackIcon Visibility =" Hidden" x : Name =" IconCheck" Kind =" CheckCircle" Width =" 25" Height =" 25" Margin =" -1,11,0,0" ></mD : PackIcon >
27
- <Label Margin =" 25,0,0,0" VerticalContentAlignment =" Center" >正在查找加密文件</Label >
28
- <Button IsEnabled =" False" Style =" {DynamicResource MaterialDesignFlatButton}" HorizontalAlignment =" Right" Margin =" 0,8,10,9" Width =" 90" >转换</Button >
10
+ Height =" 450" Width =" 800" BorderThickness =" 1" BorderBrush =" #FFC1C1C1"
11
+ WindowChrome.IsHitTestVisibleInChrome=" True" >
12
+
13
+ <i : Interaction .Behaviors>
14
+ <ei : MouseDragElementBehavior ConstrainToParentBounds =" True" />
15
+ </i : Interaction .Behaviors>
16
+ <Border Background =" White" mD:ShadowAssist.ShadowDepth=" Depth3" CornerRadius =" 7" >
17
+ <Grid >
18
+ <mD : ColorZone x : Name =" TitleBar" Height =" 40" Mode =" PrimaryMid" >
19
+ <Grid >
20
+ <Label HorizontalAlignment =" Left" VerticalContentAlignment =" Center" Foreground =" White" Content =" 转换网易云加密音乐" />
21
+ <Button x : Name =" ButtonClose" HorizontalAlignment =" Right" Height =" Auto" mD:ShadowAssist.ShadowDepth=" Depth0" >
22
+ <mD : PackIcon Kind =" Close" />
23
+ </Button >
24
+ <Button x : Name =" ButtonMinimize" HorizontalAlignment =" Right" Height =" Auto" mD:ShadowAssist.ShadowDepth=" Depth0" Margin =" 0,0,48,0" >
25
+ <mD : PackIcon Kind =" Minus" />
26
+ </Button >
29
27
</Grid >
30
28
</mD : ColorZone >
29
+ <Grid Margin =" 0,40,0,0" >
30
+ <mD : ColorZone Height =" 50" Background =" AntiqueWhite" BorderThickness =" 0,0,0,1" BorderBrush =" BurlyWood" mD:ShadowAssist.ShadowDepth=" Depth1" >
31
+ <Grid Margin =" 15,0,0,0" >
32
+ <ProgressBar x : Name =" ProgressBarWorking" Style =" {DynamicResource MaterialDesignCircularProgressBar}" IsIndeterminate =" True" HorizontalAlignment =" Left" />
33
+ <mD : PackIcon Visibility =" Hidden" x : Name =" IconCheck" Kind =" CheckCircle" Width =" 25" Height =" 25" Margin =" -1,11,0,0" />
34
+ <Label x : Name =" LabelStatus" Margin =" 25,0,0,0" VerticalContentAlignment =" Center" Content =" 正在查找加密文件" />
35
+ <Button x : Name =" ButtonDump" IsEnabled =" False" Style =" {DynamicResource MaterialDesignFlatButton}" HorizontalAlignment =" Right" Margin =" 0,8,10,9" Width =" 90" Content =" 转换" />
36
+ </Grid >
37
+ </mD : ColorZone >
31
38
32
- <Grid Margin =" 0,55,0,0" >
33
- <ScrollViewer >
34
- <StackPanel x : Name =" StackPanelFiles" />
35
- </ScrollViewer >
39
+ <Grid Margin =" 0,55,0,10" >
40
+ <ScrollViewer >
41
+ <StackPanel x : Name =" StackPanelFiles" />
42
+ </ScrollViewer >
43
+ </Grid >
36
44
</Grid >
37
45
</Grid >
38
- </Grid >
46
+ </Border >
39
47
</UserControl >
0 commit comments