Example #1
0
 private void NPCaddDamage_Click(object sender, EventArgs e)
 {
     if (CurrentNPC != null)
     {
         Dform = new DamageForm(this, CurrentNPC);
         Dform.Show();
         this.Hide();
     }
 }
Example #2
0
 private void PlayerAddDamage_Click(object sender, EventArgs e)
 {
     if (CurrentPlayer != null)
     {
         Dform = new DamageForm(this, CurrentPlayer);
         Dform.Show();
         this.Hide();
     }
 }