public SaveFileForm(ChampionsLeagueForm ParentForm) { this.MainForm = ParentForm; InitializeComponent(); GetAllClubsInList(); }
public PlayerForm(ChampionsLeagueForm ParentForm) { InitializeComponent(); clubComboBox.DataSource = FillClubComboBox(); this.MainForm = ParentForm; if (!ParentForm.addingProcedure) { formerPlayer = ParentForm.GetSelectedRow(); nameTextBox.Text = formerPlayer.Name; clubComboBox.SelectedItem = FootballClubInfo.GetNazev((int)formerPlayer.Club); goalCountUpDown.Value = formerPlayer.GoalCount; } }
public BestClubForm(ChampionsLeagueForm ParentForm) { this.MainForm = ParentForm; InitializeComponent(); FillDialog(); }