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...
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...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.