I'm developing a simulation program that checks a number of inputs and gives errors, warnings, and general information. The Error List seems ideal to display this information. Any ideas on the best way to implement this? My troubles are coming from passing errors to the sibling ErrorList form from other sibling forms and refreshing.
Thoughts?
Thanks in advance.
User Profile
Collapse
-
[C#] Forms - Creating an Error List similiar to VS2008
-
C# Propertygrid - How to selectively show class members
Hello all,
I have a class instance that I'm attaching to a propertygrid. I would like to find a way to change the "Browsable" attribute during runtime or programmaticall y from outside the class definition. I would like the end result to display certain contents of the class based on the "machinetyp e" variable's value.
Any suggestions?
...Code:[Serializable()] public class Equipment -
C#- Tree Node Selection Event Handling
I would like to be able to get the text of the Node that was clicked. I tried this:
No luck. MSDN has been of limited help,...Code:tree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.openCompressorTabPage); ...................................... private void openCompressorTabPage(object sender, EventArgs e) { string name = (sender as TreeNode).Text } -
C#-DockPanelSuite - Way to create DockContent with designer?
I'm attempting to use DockPanel Suite with an application I'm building. Is there a way to use the designer to create content for the DockContent panes?
I attempted to cast a form onto DockContent - no go. Any ideas?
Thanks! -
C#-Form - Inserting TreeNodes by Level, Index
Hello All,
I have a hashtable of nodes that need to be added to a tree. The hash table's values contain an object that holds the node's Level, Index, and Text. The table keys names of the node. I would like to cycle through the hashtable and construct the tree, like the pseudocode below.
...Code:Equipment equipment; TreeNode treeNode; TreeView projectTree; Hashtable EquipmentTable = objProjectManager.EquipmentTable
-
Good point. I'm looking into the onFocus now.... -
C#-FORM Way to reference textbox that holds cursor?
I'm writing a function to cut the information out of a textbox when a button is pressed. There are many textboxes on the form, and I only want to cut the information in the box that has the cursor. I really don't want to look for the cursor in each textbox in each level of the form.
Is there a way to reference the "current" textbox?
Thanks,
NT
No activity results to display
Show More
Leave a comment: