using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace GlobalSever.Form { /// /// 服务器面板 /// public partial class ServerTable : UserControl { /// /// 是否开启服务器 /// public bool isStart = false; /// /// 服务器 /// protected ServerProxy server; /// /// /// public ServerTable() { InitializeComponent(); } /// /// 服务器管理 /// /// public ServerTable(ServerProxy server) { this.server = server; InitializeComponent(); } /// /// 服务器启动后 /// public virtual void Start() { isStart = true; } /// /// 服务器停止前 /// public virtual void Stop() { isStart = false; } /// /// table显示的字符 /// public virtual string tableText { get { return "测试"; } } } }