exportcontactstoxml.cs
来自「破解的飞信源代码」· CS 代码 · 共 28 行
CS
28 行
namespace Imps.Client.Pc
{
using Imps.Client.Resource;
using System;
using System.IO;
using System.Windows.Forms;
internal class ExportContactsToXML : IExportContacts
{
public void ExportContacts(IWin32Window owner, string filePath, string xmlContacts)
{
using (StreamWriter writer = new StreamWriter(filePath, false, ImportExportManager.FileEncoding))
{
writer.Write("<?xml version=\"1.0\" encoding=\"" + ImportExportManager.FileEncoding.BodyName + "\" ?>\r\n" + xmlContacts);
}
}
public string Filter
{
get
{
return string.Format("{0} files (*.fcl)|*.fcl", AppDictionary.ShortEnglishName);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?