//generate private void generateUnion_Click(object sender, EventArgs e) { UnionGenerator dialog = new UnionGenerator(currentTrait); dialog.ShowDialog(); refreshUnion(false); currentTrait.unionSelect = currentTrait.union.Count - 1; unionList.SelectedIndex = currentTrait.unionSelect; refreshUnionProperties(false); IO.saved = false; }
//generate private void generateUnion_Click(object sender, EventArgs e) { UnionGenerator dialog = new UnionGenerator(currentTrait); dialog.ShowDialog(); refreshUnion(false); currentTrait.unionSelect = currentTrait.union.Count - 1; unionList.SelectedIndex = currentTrait.unionSelect; refreshUnionProperties(false); IO.saved = false; }