Example #1
0
        private void btnCreateNew_Click(object sender, EventArgs e)
        {
            frmCrate = new Create_Farm(farmerWorkingWith);

            frmCrate.Show();

            this.Close();
        }
        private void btnAccept_Click(object sender, EventArgs e)
        {
            SaveLoad saveConfig = new SaveLoad();

            string saveThis = string.Format(cmbGender.Text + Changebles.splitOn + cmbChar.Text + Changebles.splitOn +
                                            shirt.ToString());

            saveThis = saveThis.ToCharFile();

            saveConfig.SaveThisChar(saveThis, farmerWorkWith);

            Create_Farm nextForm = new Create_Farm(farmerWorkWith);

            nextForm.Show();
            this.Close();
        }