private void generateToolStripMenuItem2_Click(object sender, EventArgs e) { string txt = null; for (int i = 0; i < maps.Count; i++) { if (maps[i].encounters.Count > 0) { txt += singleMap(maps[i]); if (i != maps.Count - 1) { txt += "\r\n"; } } } MiscGen.GennedTypes frm = new MiscGen.GennedTypes(); frm.txt = txt; frm.Show(); }
private void generateToolStripMenuItem1_Click(object sender, EventArgs e) { MiscGen.GennedTypes frm = new MiscGen.GennedTypes(); frm.txt = singleMap(map); frm.Show(); }