Exemplo n.º 1
0
        internal void Info_Click(object sender, EventArgs e)
        {
            Button    button = (Button)sender;
            Character c      = (Character)button.Tag;

            CharacterManagement cm = new CharacterManagement(_c, _c.InTeam, _contextForm);

            _contextForm.ChangeUC(cm, false, true);
        }
Exemplo n.º 2
0
 private void BRetour_Click(object sender, EventArgs e)
 {
     if (_inFight)
     {
         ((FiltredInventoryForm)_contextForm).Close();
     }
     else
     {
         CharacterManagement uc = new CharacterManagement(_c, _team, (MainForm)_contextForm);
         ((MainForm)_contextForm).ChangeUC(uc, false, true);
     }
 }