private void btnChangePlayerPlayerEventsMgt_Click(object sender, EventArgs e) { SearchPlayer searchPlayer = new SearchPlayer(); searchPlayer.ShowDialog(); LoadEventManagementTabPlayer(searchPlayer.Player); }
private void LoadEventManagementTabPlayer(Player player) { tcMainForm.SelectTab(5); if (player != null) { LoadPlayer(player); LoadPlayerEvents(player); LoadNonPlayserEvents(player); } else { SearchPlayer searchPlayer = new SearchPlayer(); searchPlayer.ShowDialog(); LoadEventManagementTabPlayer(searchPlayer.Player); } }