コード例 #1
0
        private async void Start(object sender, EventArgs e)
        {
            server = new ServerForm();
            enemy  = new EnemyForm(server);
            client = new ClientForm(server);

            client.Show();
            server.Show();

            StartModel.Enabled = false;



            await client.Initialize();

            Maximize.Show();
            Minimize.Show();
            StartModel.Hide();
            enemy.Show();
        }