private void Form1_FormClosing(object sender, EventArgs e) { ServerUtil.StopServer(false); }
private void button1_Click(object sender, EventArgs e) { Util.log(ServerUtil.StopServer(false)); this.onLabel.Visible = false; this.offLabel.Visible = true; }