mirror of
https://github.com/Myxelium/BeetleWire_UI.git
synced 2026-07-07 12:45:08 +00:00
Init
This commit is contained in:
29
Pages/ClientPage.xaml
Normal file
29
Pages/ClientPage.xaml
Normal file
@@ -0,0 +1,29 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user