Пример #1
0
        private void hostServerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (PlayerName == null)
            {
                MessageBox.Show("You need to set the Player Options up first!");
                return;
            }

            Host_Server host = new Host_Server(this);

            host.Show();
        }
Пример #2
0
        private void editGameSettingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (player_name == "")
            {
                MessageBox.Show("Set player options first!");
                return;
            }

            if (host_form != null)
            {
                host_form.Show();
            }
        }