Exemple #1
0
 private void RbMult_CheckedChanged(object sender, EventArgs e)
 {
     if (RbMult.Checked)
     {
         BtnMult.PerformClick();
     }
 }
        private void BtnMult_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Mode has not be implemented yet~!");
            return;

            this.Width  = 400;
            this.Height = 300;
            maincont    = new Multiplayer();
            BtnMult.Dispose();
            BtnZom.Dispose();
        }
        private void BtnZom_Click(object sender, EventArgs e)
        {
            maincont = new Zombies
            {
                Left = 12,
                Top  = 12
            };

            this.Width  = maincont.Width + 36;
            this.Height = 270;

            Controls.Add(maincont);
            BtnMult.Dispose();
            BtnZom.Dispose();
        }