Ejemplo n.º 1
0
 void BtnEnchantClick(object sender, EventArgs e)
 {
     btnEnchant.Enabled  = false;
     enchantForm         = new EnchantForm();
     enchantForm.Closed += delegate {
         btnEnchant.Enabled = true;
         enchantForm        = null;
     };
     if (tabControl.SelectedTab != null)
     {
         enchantForm.Update(((Page)tabControl.SelectedTab).selected);
     }
     enchantForm.Show(this);
 }
Ejemplo n.º 2
0
 void Change(ItemSlot slot)
 {
     if (enchantForm != null)
     {
         enchantForm.Update(slot);
     }
     if (editForm != null)
     {
         editForm.Update(slot);
     }
     if (itemDataForm != null)
     {
         itemDataForm.Update(slot);
     }
 }
Ejemplo n.º 3
0
 void BtnEnchantClick(object sender, EventArgs e)
 {
     btnEnchant.Enabled = false;
     enchantForm = new EnchantForm();
     enchantForm.Closed += delegate {
         btnEnchant.Enabled = true;
         enchantForm = null;
     };
     if (tabControl.SelectedTab != null)
         enchantForm.Update(((Page)tabControl.SelectedTab).selected);
     enchantForm.Show(this);
 }