Example #1
0
        private void createTeamButton_Click(object sender, EventArgs e)
        {
            TeamModel model = new TeamModel
            {
                TeamName    = teamNameValue.Text,
                TeamMembers = selectedTeamMembers
            };

            GlobalConfig.Connection.CreateTeam(model);

            TeamCreated?.Invoke(model);

            this.Close();
        }
Example #2
0
 protected virtual void OnTeamCreated(TeamCreatedArgs e) => TeamCreated?.Invoke(this, e);