www.pudn.com > Fetion.rar > ImportContactsFromXML.cs
namespace Imps.Client.Pc
{
using Imps.Client.Resource;
using Imps.Common;
using System;
using System.Windows.Forms;
using System.Xml;
internal class ImportContactsFromXML : IImportContacts
{
public string GetContactsXML(IWin32Window owner, string filePath)
{
XmlDocument document = new XmlDocument();
document.Load(filePath);
return document.InnerXml;
}
public string Filter
{
get
{
return string.Format("{0} files (*.fcl)|*.fcl", AppDictionary.ShortEnglishName);
}
}
public ImportContactType Type
{
get
{
return ImportContactType.FetionXml;
}
}
}
}