コード例 #1
0
        private void btnPerso_Click(object sender, EventArgs e)
        {
            //Menu des Perso
            Choix_du_personage Perso = new Choix_du_personage();

            Perso.ShowDialog();
            ChoixPerso = Perso.ChoixDuPerso();
            Affichage();
            btnPerso.Visible = false;
            btnSave.Enabled  = true;
        }
コード例 #2
0
        private void btnPerso_Click(object sender, EventArgs e)
        {
            //Menu des Perso
            Choix_du_personage Perso = new Choix_du_personage(ref PersoComplet);

            if (DialogResult.OK == Perso.ShowDialog())
            {
                Affichage();
                btnPerso.Visible            = false;
                btnSave.Enabled             = true;
                btnMagasinArtefacts.Visible = true;
            }
        }