Exemplo n.º 1
0
        private void BtnCompetition_Click(object sender, RoutedEventArgs e)
        {
            Tournament c = lbChampionnats.SelectedItem as Tournament;

            if (c != null)
            {
                Windows_Competition wc = new Windows_Competition(c);
                wc.Left = 50;
                wc.Top  = 25;
                wc.Show();
            }
        }
Exemplo n.º 2
0
        private void OpenTournament(Tournament t)
        {
            Windows_Competition wc = new Windows_Competition(t);

            wc.Show();
        }