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); }
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); } }