Ejemplo n.º 1
0
        private void skillButtonBack_Click(object sender, EventArgs e)
        {
            Form f = this.FindForm();

            f.Controls.Remove(this);
            charScreen2 cs2 = new charScreen2();

            f.Controls.Add(cs2);
        }
        private void button2_Click(object sender, EventArgs e)
        {
            Character.race       = raceBox.Text;
            Character.type       = typeBox.Text;
            Character.background = backBox.Text;

            Form f = this.FindForm();

            f.Controls.Remove(this);
            charScreen2 cs2 = new charScreen2();

            f.Controls.Add(cs2);
        }
Ejemplo n.º 3
0
        private void button2_Click(object sender, EventArgs e)
        {
            raceChoose  = raceBox.Text;
            classChoose = typeBox.Text;
            backChoose  = backBox.Text;

            Form f = this.FindForm();

            f.Controls.Remove(this);
            charScreen2 cs2 = new charScreen2();

            f.Controls.Add(cs2);
        }