User Profile

Collapse

Profile Sidebar

Collapse
ntabb
ntabb
Last Activity: Apr 2 '09, 05:32 PM
Joined: Sep 22 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ntabb
    started a topic [C#] Forms - Creating an Error List similiar to VS2008
    in .NET

    [C#] Forms - Creating an Error List similiar to VS2008

    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.
    See more | Go to post

  • 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
    ...
    See more | Go to post

  • ntabb
    started a topic C#- Tree Node Selection Event Handling
    in .NET

    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:


    Code:
    tree.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.openCompressorTabPage);
    ......................................
    private void openCompressorTabPage(object sender, EventArgs e)
    {
       string name = (sender as TreeNode).Text
    }
    No luck. MSDN has been of limited help,...
    See more | Go to post
    Last edited by Plater; Oct 2 '08, 04:35 PM. Reason: removing pointless whitespace

  • 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!
    See more | Go to post

  • ntabb
    started a topic C#-Form - Inserting TreeNodes by Level, Index
    in .NET

    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
    ...
    See more | Go to post

  • Good point. I'm looking into the onFocus now....
    See more | Go to post

    Leave a comment:


  • ntabb
    started a topic C#-FORM Way to reference textbox that holds cursor?
    in .NET

    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
    See more | Go to post
No activity results to display
Show More
Working...