示例#1
0
 private void Form1_FormClosing(object sender, EventArgs e)
 {
     ServerUtil.StopServer(false);
 }
示例#2
0
文件: Form1.cs 项目: S1mple133/Snake
 private void button1_Click(object sender, EventArgs e)
 {
     Util.log(ServerUtil.StopServer(false));
     this.onLabel.Visible  = false;
     this.offLabel.Visible = true;
 }