Exemplo n.º 1
0
        private void uxBackButton_Click(object sender, EventArgs e)
        {
            Hide();
            var races = new uxRaces();

            races.Closed += (s, args) => Close();
            races.Show();
        }
Exemplo n.º 2
0
        private void uxSaveRaceButton_Click(object sender, EventArgs e)
        {
            raceController.CreateRace(locationController.GetLocationIdFromName(uxLocationDropDown.SelectedItem.ToString()), DateTimeConverstion(uxDateTimePicker.Value.ToString(), uxTimeBox.Text), Convert.ToInt32(uxDistanceBox.Text));
            Hide();
            var races = new uxRaces();

            races.Closed += (s, args) => Close();
            races.Show();
        }
Exemplo n.º 3
0
        private void uxTeamRacesButton_Click(object sender, EventArgs e)
        {
            Hide();
            var races = new uxRaces();

            //raceController.FetchRacesForTeam(((Runner)Program.currentUser).TeamId)
            races.Closed += (s, args) => Close();
            races.Show();
        }