/* 读取表情列表 */ public List <MsgFace> GetMsgFaceList() { List <MsgFace> facelist = new List <MsgFace>(); msgface mf = new msgface(); if (File.Exists(MSG_FACE_XML)) { mf.ReadXml(MSG_FACE_XML); } foreach (msgface.msg_faceRow row in mf.msg_face) { MsgFace item = new MsgFace(); item.face_symbol = row.symbol; item.face_picture = row.picture; item.face_desc = row.description; facelist.Add(item); } return(facelist); }
/* ��ȡ�����б� */ public List<MsgFace> GetMsgFaceList() { List<MsgFace> facelist = new List<MsgFace>(); msgface mf = new msgface(); if (File.Exists(MSG_FACE_XML)) { mf.ReadXml(MSG_FACE_XML); } foreach (msgface.msg_faceRow row in mf.msg_face) { MsgFace item = new MsgFace(); item.face_symbol = row.symbol; item.face_picture = row.picture; item.face_desc = row.description; facelist.Add(item); } return facelist; }