summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/example/uwp/app/MainPage.xaml
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-04-27 21:33:17 +0300
committeraunsane <aunsane@gmail.com>2018-04-27 21:33:17 +0300
commite1ec72eab6d00b3ba38e5932bc88920f103b6e4a (patch)
tree999de2725a83e30fbbf6576200525d4ef0c5fe38 /protocols/Telegram/tdlib/td/example/uwp/app/MainPage.xaml
parentb9ce1d4d98525490ca1a38e2d9fd4f3369adb3e0 (diff)
Telegram: initial commit
- tdlib moved to telegram dir
Diffstat (limited to 'protocols/Telegram/tdlib/td/example/uwp/app/MainPage.xaml')
-rw-r--r--protocols/Telegram/tdlib/td/example/uwp/app/MainPage.xaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/protocols/Telegram/tdlib/td/example/uwp/app/MainPage.xaml b/protocols/Telegram/tdlib/td/example/uwp/app/MainPage.xaml
new file mode 100644
index 0000000000..cdff97d9f3
--- /dev/null
+++ b/protocols/Telegram/tdlib/td/example/uwp/app/MainPage.xaml
@@ -0,0 +1,29 @@
+<Page
+ x:Class="TdApp.MainPage"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="using:TdApp"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ mc:Ignorable="d"
+ x:Name="Self">
+
+ <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto"/>
+ <RowDefinition Height="*"/>
+ </Grid.RowDefinitions>
+ <Grid>
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="*"/>
+ <ColumnDefinition Width="Auto"/>
+ </Grid.ColumnDefinitions>
+ <TextBox x:Name="Input"/>
+ <Button Grid.Column="1" x:Name="Send" Content="send" Click="Button_Click"/>
+ </Grid>
+ <ListBox Grid.Row="1" x:Name="ItemsControl" ItemsSource="{Binding Items, ElementName=Self}">
+
+ </ListBox>
+ <!--<Button Content="Test" Click="Button_Click"/>-->
+ </Grid>
+</Page>