HandsOff/MatchMakerPage.xaml.cs
/// <summary>
/// this method fills in all the existing teams in the list into the dropboxes
/// </summary>
this method fills in all the existing teams in the list into the dropboxes
this method fills in all the existing teams in the list into the dropboxes
public void EnterTeamsIntoDropBox()
        {
            ComboBox CB1 = TeamCB1;
            ComboBox CB2 = TeamCB2;
            foreach (Team Team in App.Teams)
            {
                CB1.Items.Add(Team.TeamName);
                CB2.Items.Add(Team.TeamName);
                if (Team != null)
                {
                    CB1.SelectedIndex = 0;
                    CB2.SelectedIndex = 0;
                }
            }
        }
public void EnterTeamsIntoDropBox ( ) { ComboBox CB1 = TeamCB1 ; ComboBox CB2 = TeamCB2 ; foreach ( Team Team in App . Teams ) { CB1 . Items . Add ( Team . TeamName ) ; CB2 . Items . Add ( Team . TeamName ) ; if ( Team != null ) { CB1 . SelectedIndex = 0 ; CB2 . SelectedIndex = 0 ; } } }
this method fills in all the existing teams in the list into the dropboxes
this method fills in all the existing teams in the list into the dropboxes