diff --git a/stormchat-client-csharp/StormChatWPF/Chat.cs b/stormchat-client-csharp/StormChatWPF/Chat.cs index 9ab9a3f..28a6405 100644 --- a/stormchat-client-csharp/StormChatWPF/Chat.cs +++ b/stormchat-client-csharp/StormChatWPF/Chat.cs @@ -44,7 +44,7 @@ namespace StormChatWPF private void OnHaveLogin(ResultHead head, User user) { if (head.Error == "") - { + { User.Me = user; StormClient.QueueGetUserList(); } diff --git a/stormchat-client-csharp/StormChatWPF/MainWindow.xaml b/stormchat-client-csharp/StormChatWPF/MainWindow.xaml index 284cfc3..75b0337 100644 --- a/stormchat-client-csharp/StormChatWPF/MainWindow.xaml +++ b/stormchat-client-csharp/StormChatWPF/MainWindow.xaml @@ -4,6 +4,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:StormChatWPF" + xmlns:my="clr-namespace:StormChatWPF.UI" mc:Ignorable="d" Title="StormChat" Height="450" Width="800" WindowStartupLocation="CenterScreen"> @@ -19,8 +20,7 @@ - - +