finished basics

This commit is contained in:
Digi
2025-02-24 20:07:27 +01:00
parent f3da4b9c3e
commit fcffbf35f2
104 changed files with 541 additions and 526 deletions

View File

@@ -6,7 +6,7 @@
xmlns:local="clr-namespace:Yapper"
xmlns:viewmodel="clr-namespace:YapperClient.MVVM.ViewModel"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
Title="MainWindow" Height="474" Width="816">
<Window.DataContext>
<viewmodel:MainViewModel/>
@@ -41,11 +41,14 @@
</DockPanel>
<StackPanel Grid.Column="1">
<ListView Height="380"></ListView>
<ListView Height="380"
ItemsSource="{Binding Messages}"></ListView>
<StackPanel Orientation="Horizontal">
<TextBox Height="55" Width="545" VerticalContentAlignment="Center"></TextBox>
<Button Width="55" Content="send"/>
<TextBox Height="55" Width="545" VerticalContentAlignment="Center"
Text="{Binding Message, UpdateSourceTrigger=PropertyChanged}"></TextBox>
<Button Width="55" Content="send"
Command="{Binding SendMessageCommand}"/>
</StackPanel>
</StackPanel>