Search results for query: *

  1. D

    Question Button Control Template - Context Menu click events

    Hello all, I'm a bit stuck, I have a control template for a button, and it has a right click context menu on it. If I want to respond to those, I add a click event to it, which is fine. However, once I add a button to my Windows Application, how do I then respond to the right click event...
  2. D

    Question Iterating through a tree of objects

    Hi jmcilhinney, I have implemented the "private IEnumerable<T> enumerate(Node<T> root)" method, which iterates in the class. I have also done a quick print method to print out the list. The list stores the object as data in the class (public T Data). The print looks like this: public static...
  3. D

    Question Iterating through a tree of objects

    Hello all, I have written a pretty simple tree data structure that implements the IEnumerable interface. class Tree<T> : IEnumerable<T> Everything is working great, I'm adding my nodes and the data is actually an object, so to create a node in my tree, I use something like this: var tree =...
Back
Top Bottom