This commit is contained in:
Myx
2025-03-19 01:16:12 +01:00
commit 83a80b4b0f
28 changed files with 893 additions and 0 deletions

19
Pages/ServerPage.xaml Normal file
View File

@@ -0,0 +1,19 @@
<Page
x:Class="BeetleWire_UI.Pages.ServerPage"
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>
<TextBlock Text="Server" FontSize="20" FontWeight="Bold" Margin="0,0,0,12"/>
<TextBlock Text="Listening on:"/>
<TextBox x:Name="ServerAddressTextBox" Text="localhost:1337" Margin="0,0,0,12" Width="300"/>
<TextBlock Text="Directory:"/>
<TextBox x:Name="ServerDirectoryTextBox" Text="C:\Shared" Margin="0,0,0,12" Width="300"/>
<Button Content="Start Server" Click="StartServerButton_Click" Width="200"/>
<ScrollViewer Margin="0,12,0,0" Height="200">
<TextBlock x:Name="LogTextBlock" TextWrapping="Wrap"/>
</ScrollViewer>
</StackPanel>
</Grid>
</Page>