public CombatDataForm(CombatData data, EncounterCard card, Encounter enc, CombatData current_actor, int current_round, bool allow_name_edit)
        {
            InitializeComponent();

            Application.Idle += new EventHandler(Application_Idle);
            EffectList_SizeChanged(null, null);

            fData      = data.Copy();
            fCard      = card;
            fEncounter = enc;

            fCurrentActor = current_actor;
            fCurrentRound = current_round;

            if (fData.Initiative == int.MinValue)
            {
                fData.Initiative = 0;
            }

            Text          = fData.DisplayName;
            LabelBox.Text = fData.DisplayName;

            if (!allow_name_edit)
            {
                LabelBox.Enabled = false;
            }

            update_hp();
            InitBox.Value     = fData.Initiative;
            AltitudeBox.Value = fData.Altitude;
            update_effects();
        }
 public CombatDataForm(CombatData data, EncounterCard card, Encounter enc, CombatData current_actor, int current_round, bool allow_name_edit)
 {
     this.InitializeComponent();
     Application.Idle += new EventHandler(this.Application_Idle);
     this.EffectList_SizeChanged(null, null);
     this.fData         = data.Copy();
     this.fCard         = card;
     this.fEncounter    = enc;
     this.fCurrentActor = current_actor;
     this.fCurrentRound = current_round;
     if (this.fData.Initiative == -2147483648)
     {
         this.fData.Initiative = 0;
     }
     this.Text          = this.fData.DisplayName;
     this.LabelBox.Text = this.fData.DisplayName;
     if (!allow_name_edit)
     {
         this.LabelBox.Enabled = false;
     }
     this.update_hp();
     this.InitBox.Value     = this.fData.Initiative;
     this.AltitudeBox.Value = this.fData.Altitude;
     this.update_effects();
 }