No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Is it possible to convert a string value to a variable name ? Considering the following example AddNode(treeview, "root", "This is the root"); [CODE]public void AddNode(TreeNode parent, string nodeName, string nodeValue) { // what i want to happen is here to be created node with the name "root" // TreeNode … | |
hi, I'm just trying to make the Cancel button on my form close that form on Enter key but the problem is that it closes it when i hit space key and if i change code below to [CODE]if (e.KeyChar == (char)Keys.Return) this.Close();[/CODE] it does not work. it just works … |