private void playersHeader_NameChangedEvent(object sender, NameChangedEventArgs e) { if (NameChangedEvent != null) { NameChangedEvent(this, e); } }
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; }