public void openWindow(String key)
 {
     this.workingKey = key;
     this.workingMod = main.genericWrestlingSkills[key];
     this.populateMenus();
     this.ShowDialog();
 }
 public void openWindow()
 {
     this.workingKey = "";
     this.workingMod = new Wrestler.modifier(
         this.stmod1, this.stmod2, ref this.starr);
     rating[] newRats1 = new rating[main.genericAttributes.Length];
     rating[] newRats2 = new rating[main.genericAttributes.Length];
     for (int i = 0; i < newRats1.Length; i++)
     {
         newRats1[i] = rating.D;
         newRats2[i] = rating.D;
     }
     this.workingMod.minAtt = newRats1
     ;
     this.workingMod.maxAtt = newRats2;
     this.populateMenus();
     this.ShowDialog();
 }