-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
36 lines (18 loc) · 1.53 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
<Window x:Class="YT2MP3.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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:YT2MP3"
mc:Ignorable="d"
Title="Youtube Album Splitter" Height="350" Width="600">
<StackPanel Height="Auto" VerticalAlignment="Stretch">
<TextBox Margin="0,30,0,10" x:Name="urlTextBox" HorizontalAlignment="Center" Text="https://www.youtube.com/watch?v=sNPnbI1arSE" TextWrapping="Wrap" TextChanged="TextBox_TextChanged" KeyDown="TextBox_KeyDown" />
<Button Margin="0,0,0,30" Content="Download" HorizontalAlignment="Center" Click="DownloadBtnClick"/>
<Button Margin="0,0,0,30" Content="Album Mode" HorizontalAlignment="Center" Click="Album_Button_Click"/>
<ProgressBar Margin="0,30,0,30" x:Name="dlProgress" Height="10" Width="350" Maximum="1"/>
<TextBlock x:Name="messageTxt" HorizontalAlignment="Center"></TextBlock>
<TextBox Margin="0,30,0,10" x:Name="directoryText" HorizontalAlignment="Center" Text="C:\Youtube Albums" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TextChanged="directoryPicker_TextChanged"/>
<Button x:Name="directoryBtn" Content="Browse" HorizontalAlignment="Center" VerticalAlignment="Top" Click="SelectDir"/>
</StackPanel>
</Window>