mirror of
https://github.com/Myxelium/BeetleWire_UI.git
synced 2026-04-09 06:09:38 +00:00
30 lines
1.6 KiB
XML
30 lines
1.6 KiB
XML
<Page
|
|
x:Class="BeetleWire_UI.Pages.ClientPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:BeetleWire_UI.Pages">
|
|
<Grid Padding="12">
|
|
<StackPanel>
|
|
<!-- Shared Folder Section -->
|
|
<TextBlock Text="Client" FontSize="20" FontWeight="Bold" Margin="0,0,0,12"/>
|
|
<TextBlock Text="Shared Folder Path:" FontWeight="Bold" />
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBox x:Name="SharedFolderPathTextBox" Width="500" Margin="0,0,12,0"/>
|
|
<Button Content="Set Folder" Click="SetFolderButton_Click"/>
|
|
</StackPanel>
|
|
<!-- Server Connection Section -->
|
|
<TextBlock Text="Server Address:"/>
|
|
<TextBox x:Name="ServerAddressTextBox" Text="127.0.0.1:1337" Margin="0,0,0,12"/>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Button Content="Connect to Server" Click="ConnectButton_Click" Margin="0,0,0,12"/>
|
|
<Button Content="Save Connection" Click="SaveConnectionButton_Click" Margin="12,0,0,12"/>
|
|
</StackPanel>
|
|
<!-- File List and Download Section -->
|
|
<TextBlock Text="Available Files:"/>
|
|
<ListView x:Name="FilesListView" SelectionChanged="FilesListView_SelectionChanged" Height="200"/>
|
|
<ProgressBar x:Name="DownloadProgressBar" Height="20" Margin="0,12,0,0" Visibility="Collapsed"/>
|
|
<TextBlock x:Name="StatusTextBlock" Margin="0,12,0,0"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Page>
|