⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icustomsaveproperties.cs

📁 Gibphone is CSharp Program, it can tell you how to design p2p chat.
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using GPCore.Protocols;

namespace GPCore
{
    /// <summary>
    /// Extend this interface if you want to add more Properties to the XmlFile
    /// besides just Username and Password.
    /// </summary>
    public interface ICustomSaveProperties : IProtocol
	{
        /// <summary>
        /// Add the Properties to the <paramref name="root"/> XmlElement
        /// </summary>
        /// <param name="root">The root of the advanced Properties</param>
		void CreateElement(ref XmlElement root);
        /// <summary>
        /// Reads the Properties that you saved using the <see cref="CreateElement" />
        /// Method.
        /// </summary>
        /// <param name="elem">The root of the advanced Properties</param>
		void ReadElement(XmlElement elem);

	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -