Aufgrund der Benutzung von Threads anstelle von Timern hat das Aufrufen der einzelnen Konversationen ca. 2 Sekunden gedauert. Die Synchronisationsdatei enthält, ob die letzte Nachrichte bereits gelesen wurde, sodass man, wenn man den Chat beendet bevor man eine neue Nachricht gelesen hat, diese nach dem erneuten Öffnen immer noch als neu angezeigt wird. - Dateinamen verbessert - Diverse Verbesserungen des Codes
14 lines
785 B
XML
14 lines
785 B
XML
<Window x:Class="ownChat.LoginMaske"
|
|
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"
|
|
Icon="pack://application:,,,/ChatController;component/Ressourcen/ownchat_icon.png"
|
|
xmlns:cc="clr-namespace:ChatController;assembly=ChatController"
|
|
mc:Ignorable="d" WindowStartupLocation="CenterScreen" ResizeMode="NoResize"
|
|
Title="ownChat Desktop" Height="500" Width="700" KeyDown="LoginMaske_OnKeyDown">
|
|
<Grid>
|
|
<cc:LoginControl x:Name="LoginControl" OnLogin="LoginControl_OnOnLogin"></cc:LoginControl>
|
|
</Grid>
|
|
</Window>
|