Exemplo n.º 1
0
 private void EditTeams_Click(object sender, EventArgs e)
 {
     if (allTeamsList.FocusedItem != null)
     {
         ListViewItem firstSelectedItem = allTeamsList.FocusedItem;
         string       teamName          = firstSelectedItem.SubItems[0].Text;
         Team         T      = DBLayer.Teams.Read(teamName);
         DialogTeams  dialog = new DialogTeams(E, T);
         dialog.Show();
     }
 }
Exemplo n.º 2
0
        private void AddTeams_Click(object sender, EventArgs e)
        {
            DialogTeams dialog = new DialogTeams();

            dialog.Show();
        }