private void charSelect_Click(object sender, RoutedEventArgs e) { CharSelect cs = new CharSelect(this, this.accountID.Tag); /*cs.save.Click += (s, e2) => { foreach (var child in cs.CharacterPanel.Children.Cast<CSelect>() .Where(x => x.selected.IsChecked.HasValue && x.selected.IsChecked.Value)) { // Do Work } };*/ cs.Show(); }
private void charSelect_Click(object sender, RoutedEventArgs e) { CharSelect cs = new CharSelect(this); cs.Show(); }