Beispiel #1
0
        private void B_EditDesignsTailor_Click(object sender, EventArgs e)
        {
            var patterns = SAV.Main.GetDesignsTailor();

            using var editor = new PatternEditorPRO(patterns);
            if (editor.ShowDialog() == DialogResult.OK)
            {
                SAV.Main.SetDesignsTailor(patterns);
            }
        }
Beispiel #2
0
        private void B_EditVillagerDesign_Click(object sender, EventArgs e)
        {
            var v   = Villagers[VillagerIndex];
            var tmp = new[] { v.Design };

            using var editor = new PatternEditorPRO(tmp);
            if (editor.ShowDialog() == DialogResult.OK)
            {
                v.Design = tmp[0];
            }
        }