-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
156 lines (123 loc) · 6.03 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<ui:FluentWindow
x:Class="Symbolic11.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Symbolic11"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Title="Symbolic11"
Width="450"
Height="420"
mc:Ignorable="d"
ResizeMode="NoResize"
ExtendsContentIntoTitleBar="True"
WindowBackdropType="Mica"
WindowCornerPreference="Round"
WindowStartupLocation="CenterScreen"
d:Background="#202020"
>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ui:TitleBar
x:Name="TitleBar"
Title="Symbolic11"
Grid.Row="0"
CloseWindowByDoubleClickOnIcon="True"
Margin="0,0,0,-10"
>
<ui:TitleBar.Icon>
<ui:SymbolIcon Symbol="DocumentArrowRight20" FontSize="15" Foreground="White" />
</ui:TitleBar.Icon>
</ui:TitleBar>
<Border
Grid.Row="1"
Height="372"
Margin="10,0,10,10"
Background="#2d2d2d"
BorderBrush="#2d2d2d" BorderThickness="1" CornerRadius="5">
<StackPanel Background="Transparent" Margin="5,5,5,5">
<StackPanel Orientation="Horizontal">
<StackPanel Orientation="Vertical">
<Label
Content="Type of symbolic link"
Margin="5,0,0,0"
FontFamily="{StaticResource SegoueUIVariable}"
FontSize="15"
VerticalAlignment="Bottom"
/>
<ComboBox
x:Name="SymbolicType"
Margin="8,0,0,10"
HorizontalAlignment="Left"
MinWidth="250" SelectedIndex="0"
SelectionChanged="SymbolicType_SelectionChanged"
>
<ComboBoxItem Content="Symbolic Link"/>
<ComboBoxItem Content="Hard Link" x:Name="HardLink" IsEnabled="False" />
<ComboBoxItem Content="Junction Link" x:Name="JunctionLink"/>
</ComboBox>
</StackPanel>
<StackPanel Orientation="Vertical" >
<Label
Content="File Type"
Margin="5,0,0,0"
FontFamily="{StaticResource SegoueUIVariable}"
FontSize="15"
VerticalAlignment="Bottom"
/>
<ComboBox
x:Name="FileType"
Margin="8,0,0,10"
HorizontalAlignment="Left"
MinWidth="148"
SelectionChanged="FileType_SelectionChanged" SelectedIndex="0"
>
<ComboBoxItem Content="Folder"/>
<ComboBoxItem Content="File"/>
</ComboBox>
</StackPanel>
</StackPanel>
<Label
x:Name="LinkText"
Content="Link Folder" Height="20"
Margin="5,0,0,0"
FontFamily="{StaticResource SegoueUIVariable}"
FontSize="15"
VerticalAlignment="Bottom"
/>
<StackPanel Margin="8,0,0,0" Orientation="Horizontal" >
<Border Background="#454545" BorderBrush="#454545" BorderThickness="1" CornerRadius="8">
<TextBlock TextWrapping="Wrap" x:Name="LinkFolderPath" ToolTipService.ToolTip="" Margin="5,0,5,0" Foreground="White" VerticalAlignment="Center" Width="310"/>
</Border>
<Button x:Name="LinkExplore" Click="LinkExplore_Click" Margin="14,0,0,0" Content="Explore" />
</StackPanel>
<StackPanel Margin="8,8,0,0" Orientation="Horizontal" >
<ui:TextBox x:Name="LinkName" PlaceholderText="Enter link name" Width="229" />
<Button x:Name="copyFileName" Click="useDestinationName" Margin="14,0,0,0" Content="Use Destination Name" />
</StackPanel>
<Label
x:Name="DestinationText"
Content="Destination Folder" Height="20"
Margin="5,15,0,0"
FontFamily="{StaticResource SegoueUIVariable}"
FontSize="15"
VerticalAlignment="Bottom"
/>
<StackPanel Margin="8,0,0,0" Orientation="Horizontal" >
<Border Background="#454545" BorderBrush="#454545" BorderThickness="1" CornerRadius="8">
<TextBlock x:Name="DestinationPath" TextWrapping="Wrap" Margin="5,0,5,0" Foreground="White" VerticalAlignment="Center" Width="310"/>
</Border>
<Button x:Name="DestinationExplore" Click="DestinationExplore_Click" Margin="14,0,0,0" Content="Explore" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,025,0,0">
<ui:InfoBar x:Name="InfoBar" Title="Title" Message="Essential message." Width="304" />
<ui:Button x:Name="CreateLink" Click="CreateLink_Click" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="10,0,25,0" Content="Create Link" IsEnabled="False"/>
</StackPanel>
</StackPanel>
</Border>
</Grid>
</ui:FluentWindow>