Chatfenster update
Leichte veränderungen
This commit is contained in:
parent
2a497ec081
commit
c3ca4ec25d
BIN
Bilder/PICA.jpg
Normal file
BIN
Bilder/PICA.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
bibtalk/Pics/PICA.jpg
Normal file
BIN
bibtalk/Pics/PICA.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
@ -1,12 +0,0 @@
|
|||||||
<Window x:Class="bib_talk.ChatWindow"
|
|
||||||
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"
|
|
||||||
xmlns:local="clr-namespace:bib_talk"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
Title="ChatWindow" Height="450" Width="800">
|
|
||||||
<Grid>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</Window>
|
|
@ -1,27 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Controls;
|
|
||||||
using System.Windows.Data;
|
|
||||||
using System.Windows.Documents;
|
|
||||||
using System.Windows.Input;
|
|
||||||
using System.Windows.Media;
|
|
||||||
using System.Windows.Media.Imaging;
|
|
||||||
using System.Windows.Shapes;
|
|
||||||
|
|
||||||
namespace bib_talk
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Interaktionslogik für ChatWindow.xaml
|
|
||||||
/// </summary>
|
|
||||||
public partial class ChatWindow : Window
|
|
||||||
{
|
|
||||||
public ChatWindow()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -73,18 +73,23 @@
|
|||||||
VerticalAlignment="Center"/>
|
VerticalAlignment="Center"/>
|
||||||
</Button>
|
</Button>
|
||||||
<TextBlock HorizontalAlignment="Left" x:Name="loggedinuser" Margin="32,11,0,0" TextWrapping="Wrap" Text="xxxx" VerticalAlignment="Top" Height="22" Width="146" Foreground="White"/>
|
<TextBlock HorizontalAlignment="Left" x:Name="loggedinuser" Margin="32,11,0,0" TextWrapping="Wrap" Text="xxxx" VerticalAlignment="Top" Height="22" Width="146" Foreground="White"/>
|
||||||
<ListBox x:Name="onlineUsersListBox" Margin="32,60,760,440" d:ItemsSource="{d:SampleData ItemCount=5}" Background="#FF323134" BorderBrush="{x:Null}">
|
<ListBox x:Name="onlineUsersListBox" Margin="32,84,728,50" d:ItemsSource="{d:SampleData ItemCount=5}" Background="#FF323134" BorderBrush="{x:Null}">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal" Width="205" Height="60">
|
||||||
<TextBlock Text="{Binding Username}" FontWeight="Bold" Margin="5" Foreground="#FF6332A0"/>
|
|
||||||
<Ellipse Width="10" Height="10" Fill="Green" Margin="5"/>
|
<Ellipse Width="10" Height="10" Fill="Green" Margin="5"/>
|
||||||
|
<Image Source="/PICA.jpg" Width="50" Height="50" Stretch="Fill">
|
||||||
|
<Image.Clip>
|
||||||
|
<EllipseGeometry Center="25,25" RadiusX="25" RadiusY="25"/>
|
||||||
|
</Image.Clip>
|
||||||
|
</Image>
|
||||||
|
<TextBlock Text="{Binding Username}" FontWeight="Bold" Foreground="#FF6332A0" RenderTransformOrigin="0.51,0.532" FontSize="18" Width="123" Height="30" Margin="10,0,0,0"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
|
|
||||||
<ListBox x:Name="chatlistbox" Margin="244,60,44,105" d:ItemsSource="{d:SampleData ItemCount=5}" Background="#FF323134" BorderBrush="{x:Null}" Foreground="#FF6332A0" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Hidden">
|
<ListBox x:Name="chatlistbox" Margin="244,84,0,50" d:ItemsSource="{d:SampleData ItemCount=5}" Background="#FF323134" BorderBrush="{x:Null}" Foreground="#FF6332A0" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Hidden">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<StackPanel Margin="5">
|
<StackPanel Margin="5">
|
||||||
@ -102,14 +107,13 @@
|
|||||||
|
|
||||||
<TextBox
|
<TextBox
|
||||||
x:Name="messageBOX"
|
x:Name="messageBOX"
|
||||||
Height="30"
|
|
||||||
FontSize="20"
|
FontSize="20"
|
||||||
BorderBrush="Transparent"
|
BorderBrush="Transparent"
|
||||||
Margin="244,601,154,49"
|
Margin="244,642,154,10"
|
||||||
Background="#FF323134"
|
Background="#FF323134"
|
||||||
Foreground="White"
|
Foreground="White"
|
||||||
SelectionBrush="#FF6332A0"/>
|
SelectionBrush="#FF6332A0"/>
|
||||||
<Button x:Name="weiterbutton" Click="send_Click" Content="Weiter" Foreground="White" Background="#FF6332A0" BorderThickness="0" Margin="831,602,44,50" BorderBrush="{x:Null}" Style="{StaticResource NoHoverButtonStyle}" RenderTransformOrigin="0.279,0.633"/>
|
<Button x:Name="weiterbutton" Click="send_Click" Content="Weiter" Foreground="White" Background="#FF6332A0" BorderThickness="0" Margin="831,642,44,10" BorderBrush="{x:Null}" Style="{StaticResource NoHoverButtonStyle}" RenderTransformOrigin="0.279,0.633"/>
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
BIN
bibtalk/bib-talk/PICA.jpg
Normal file
BIN
bibtalk/bib-talk/PICA.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
@ -8,6 +8,10 @@
|
|||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Remove="PICA.jpg" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -16,4 +20,8 @@
|
|||||||
<Folder Include="Icons\" />
|
<Folder Include="Icons\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Resource Include="PICA.jpg" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Loading…
Reference in New Issue
Block a user