Esempio n. 1
0
        //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;
        }
Esempio n. 2
0
 //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;
 }