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