示例#1
0
        private void buttonOK_Click(object sender, EventArgs e)
        {
            //забираем параметры для передачи в другую форму

            int[] param = {hp, def, OD, damage };

            Island form = new Island(param, name);
            this.Close();
            form.Show();
        }
示例#2
0
        private void buttonOK_Click(object sender, EventArgs e)
        {
            //забираем параметры для передачи в другую форму

            int[] param = {hp, def, OD, damage, morality };
            int[] nav = { NavSob, NavHunt, NavFish, NavCraft, NavMining, NavWood};
            int[] special = { Strength, Perception, Endurance, Will, Intelligence, Agility, Luck};

            Island form = new Island(param, name, nav, special);
            this.Close();
            form.Show();
        }