日常察看
This commit is contained in:
@@ -1,10 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Interact;
|
using Interact;
|
||||||
using System.Drawing;
|
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
@@ -21,7 +17,8 @@ namespace StormChatWPF
|
|||||||
StormClient.OnMessage +=OnMessage;//事件挂接
|
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; }//设置当前联系人对象
|
internal static User CurrentContact { get;
|
||||||
|
set; }//设置当前联系人对象
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取联系人列表(完成后打开主窗体)
|
/// 获取联系人列表(完成后打开主窗体)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace StormChatWPF.UI
|
|||||||
VerticalAlignment = VerticalAlignment.Bottom
|
VerticalAlignment = VerticalAlignment.Bottom
|
||||||
};
|
};
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
/// 生成聊天气泡
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="msg">传入消息体</param>
|
/// <param name="msg">传入消息体</param>
|
||||||
/// <param name="alignment">设置水平对齐方式,参数为HorizontalAlignment枚举类型</param>
|
/// <param name="alignment">设置水平对齐方式,参数为HorizontalAlignment枚举类型</param>
|
||||||
|
|||||||
Reference in New Issue
Block a user