summaryrefslogtreecommitdiff
path: root/windows/WinUI/MainWindow.xaml
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-10-21 20:29:03 -0700
committerGrant Limberg <glimberg@gmail.com>2015-10-21 20:29:03 -0700
commit5b6ddaa2d744dfc726829da0893a7f03c9043c8a (patch)
tree76b67a8ed02152597e81fd2366c0e5e7a83bc2e2 /windows/WinUI/MainWindow.xaml
parent6471c1f4e26c0230b40bf0102a52493aa78236b9 (diff)
downloadinfinitytier-5b6ddaa2d744dfc726829da0893a7f03c9043c8a.tar.gz
infinitytier-5b6ddaa2d744dfc726829da0893a7f03c9043c8a.zip
Base windows UI is working.
* No joining/leaving networks yet, but they do display. * Nothing is updated yet after first load of the app. Need to set up a background task to run updates.
Diffstat (limited to 'windows/WinUI/MainWindow.xaml')
-rw-r--r--windows/WinUI/MainWindow.xaml15
1 files changed, 10 insertions, 5 deletions
diff --git a/windows/WinUI/MainWindow.xaml b/windows/WinUI/MainWindow.xaml
index 299d3676..52a76ebb 100644
--- a/windows/WinUI/MainWindow.xaml
+++ b/windows/WinUI/MainWindow.xaml
@@ -1,7 +1,10 @@
<Window
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" mc:Ignorable="d" x:Class="WinUI.MainWindow"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:local="clr-namespace:WinUI"
+ mc:Ignorable="d" x:Class="WinUI.MainWindow"
Title="ZeroTier One" Height="495" Width="705" Icon="ZeroTierIcon.ico">
<Window.Resources>
@@ -84,10 +87,12 @@
</StatusBarItem>
</StatusBar>
<TabControl>
- <TabItem x:Name="Networks" Header="Networks" Background="#FF234447" Foreground="White" IsSelected="True" IsManipulationEnabled="True">
- <Grid Background="#FFE5E5E5"/>
- </TabItem>
- <TabItem x:Name="Peers" Header="Peers" Background="#FF234447" Foreground="White">
+ <TabItem x:Name="Networks" Header="Networks" Background="#FF234447" Foreground="White" IsSelected="True" IsManipulationEnabled="True">
+ <Grid>
+ <local:NetworksPage x:Name="networksPage" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
+ </Grid>
+ </TabItem>
+ <TabItem x:Name="Peers" Header="Peers" Background="#FF234447" Foreground="White">
<Grid Background="#FFE5E5E5"/>
</TabItem>
</TabControl>