Esempio n. 1
0
 public WpfTeameditor(WpfTeams teamsWindow, Team team)
 {
     InitializeComponent();
     this.team            = team;
     txtTeamID.Text       = team.JoukkueId.ToString();
     txtTeamname.Text     = team.Nimi;
     txtLocation.Text     = team.Paikkakunta;
     txtOrganization.Text = team.Seura;
     txtLogofile.Text     = team.LogoURL;
     this.teamsWindow     = teamsWindow;
 }
Esempio n. 2
0
        private void BtnTeams_Click(object sender, RoutedEventArgs e)
        {
            WpfTeams joukkueet = new WpfTeams();

            joukkueet.Show();
        }
Esempio n. 3
0
 //constructors
 public WpfTeameditor(WpfTeams teamsWindow)
 {
     InitializeComponent();
     Teams            = DBSalibandytournament.GetTeamsFromDB();
     this.teamsWindow = teamsWindow;
 }