private void Hilight_Executed(object sender, ExecutedRoutedEventArgs e) { ArrayList items = tileInfos.Items(); HilightWin h = new HilightWin(items); if (h.ShowDialog() == true) { foreach (var i in h.SelectedItems) { i.isHilighting = true; // also hilight the subvariants hiliteVariants(i); } QuickHiliteToggle.IsChecked = true; } }
private void Hilight_Executed(object sender, ExecutedRoutedEventArgs e) { ArrayList items = tileInfos.Items(); HilightWin h = new HilightWin(items); if (h.ShowDialog() == true) { h.SelectedItem.isHilighting = true; // also hilight the subvariants hiliteVariants(h.SelectedItem); isHilight = true; RenderMap(); } }