示例#1
0
 private void anwendungEndeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Connections.SendEndGameToServer();
     Environment.Exit(0);
 }
示例#2
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     Connections.SendEndGameToServer();
 }
示例#3
0
 private void spielEndeToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     gamePanel.Visible = false;
     destroyGame();
     Connections.SendEndGameToServer();
 }