Example #1
0
 private void playersHeader_NameChangedEvent(object sender, NameChangedEventArgs e)
 {
     if (NameChangedEvent != null)
     {
         NameChangedEvent(this, e);
     }
 }
Example #2
0
 private void unoOneGame_NameChangedEvent(object sender, NameChangedEventArgs e)
 {
     playerNames[e.Index] = e.NewName;
     for (int i = 0; i < tabControl1.TabPages.Count; i++)
     {
         (tabControl1.TabPages[i].Tag as UNOOneGame).RefreshNames(playerNames);
     }
     saved = false;
 }