diff --git a/stormchat-client-csharp/StormChatWPF/Chat.cs b/stormchat-client-csharp/StormChatWPF/Chat.cs index 7c36c87..9ab9a3f 100644 --- a/stormchat-client-csharp/StormChatWPF/Chat.cs +++ b/stormchat-client-csharp/StormChatWPF/Chat.cs @@ -19,7 +19,7 @@ namespace StormChatWPF StormClient.OnLoginDone += OnHaveLogin; StormClient.OnGetUserListDone += OnGetContactsList; StormClient.OnMessage +=OnMessage;//事件挂接 - User.DefaultPhoto = new MemoryStream(File.ReadAllBytes(@"../../UI/Resources/默认头像.png")); + User.DefaultPhoto = new MemoryStream(File.ReadAllBytes(@"../../UI/Resources/默认头像.png"));//设定默认头像 } internal static User CurrentContact { get; set; }//设置当前联系人对象 /// diff --git a/stormchat-client-csharp/StormChatWPF/MainWindow.xaml b/stormchat-client-csharp/StormChatWPF/MainWindow.xaml index f13788d..284cfc3 100644 --- a/stormchat-client-csharp/StormChatWPF/MainWindow.xaml +++ b/stormchat-client-csharp/StormChatWPF/MainWindow.xaml @@ -19,9 +19,9 @@ - + - +