Esempio n. 1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (cboxTeam.SelectedIndex >= 0)
     {
         selectTeam = (ChatStore)cboxTeam.SelectedItem;
         fmEditTeamName editForm = new fmEditTeamName(selectTeam.ChatUserName, selectTeam.ChatDisplayName);
         if (editForm.ShowDialog() == DialogResult.OK)
         {
             BindTeam();
         }
     }
 }
Esempio n. 2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (cboxTeam.SelectedIndex >= 0)
     {
         selectTeam = (Team)cboxTeam.SelectedItem;
         fmEditTeamName editForm = new fmEditTeamName(selectTeam.TeamId, selectTeam.TeamName);
         if (editForm.ShowDialog() == DialogResult.OK)
         {
             teamIsChange = true;
             BindTeam();
         }
     }
 }