Example #1
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     serverFacade.StartServer();
     this.rtbMsg.Text = DateTime.Now.ToString() + " " + "服务器端准备就绪" + Environment.NewLine;
 }
Example #2
0
 protected override void OnStart(string[] args)
 {
     _facade.StartServer();
 }