Ejemplo n.º 1
0
 private void legsButton_Click(object sender, EventArgs e)
 {
     EquipmentForm Form = new EquipmentForm(equipment, "Legs");
     Form.ShowDialog();
     //spara ändringar till equipment variabeln
     equipment = Form.equipment;
     UpdateValues();
 }
Ejemplo n.º 2
0
 private void offhandButton_Click(object sender, EventArgs e)
 {
     if (dualWieldCheck.Checked == false)
     {
         EquipmentForm Form = new EquipmentForm(equipment, "Off Hand");
         Form.ShowDialog();
         //spara ändringar till equipment variabeln
         equipment = Form.equipment;
         UpdateValues();
     }
     else
     {
         EquipmentForm Form = new EquipmentForm(equipment, "Dual Wield");
         Form.ShowDialog();
         //spara ändringar till equipment variabeln
         equipment = Form.equipment;
         UpdateValues();
     }
 }