public Form3(Point pos, RaceInfo info)
        {
            InitializeComponent();
            this.Location = pos;

            raceInfo = info;
        }
Пример #2
0
        public Form2(Point pos, RaceInfo info)
        {
            InitializeComponent();
            this.Location = pos;
            raceInfo      = info;

            if (raceInfo.type != "")
            {
                typeBox.Text            = raceInfo.type;
                sizeBox.Text            = raceInfo.size;
                abilityScoreModBox.Text = raceInfo.abilityScoreMod;
                languageBox.Text        = raceInfo.language;
            }
        }
        public Form1()
        {
            InitializeComponent();

            raceInfo = new RaceInfo();
        }