Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Nyanoba

@Nyanoba
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Debugging the Dll build in Debug mode
    N Nyanoba

    Yes., i do have that..,

    C# debugging tutorial

  • Debugging the Dll build in Debug mode
    N Nyanoba

    Yes, we can do that, But my requirment is that i already had a framework and this is the dll which i want to load, So i want to debug the dll without having .cs file . What i has is just an pdb and .dll file. I am able to launch the VS Debugger then how to give thw code to debug, thats the problem ?

    C# debugging tutorial

  • Debugging the Dll build in Debug mode
    N Nyanoba

    Hi.., I need to debug the Dll built in Debug mode. Here i can launch the Debugger but how to give the Code path and Code because all what i has the Dll's..., Could you please suggest some idea's.. Thanks - Biradar

    C# debugging tutorial

  • Undo functionality for Node rename in TreeView
    N Nyanoba

    Hi Bob, thanks, Its the one which i needed..

    C# question

  • Undo functionality for Node rename in TreeView
    N Nyanoba

    I Implemented the Rename Functionality, But can some one tells me the good way to implement the Undo Functionality for rename?

    C# question

  • How to rename directly in the TreeView node?
    N Nyanoba

    Here is some code, you can refer, string

    selectedNodeText;
    private void RenametoolStripMenuItem_Click(object sender, EventArgs e)
    {
    TreeNode node = this.treeView.SelectedNode as TreeNode;
    selectedNodeText = node.Text;
    this.treeViewTestplan.LabelEdit = true;
    node.BeginEdit();
    }

        void treeView\_AfterLabelEdit(object sender, System.Windows.Forms.NodeLabelEditEventArgs e)
        {
            TreeNode node = this.treeView.SelectedNode as TreeNode;
            this.treeViewTestplan.LabelEdit = false;
    
            if (e.Label.IndexOfAny(new char\[\] { '\\\\', '/', ':', '\*', '?', '"', '<', '>', '|' }) != -1)
            {
                MessageBox.Show("Invalid StepName.\\n" +
                  "The step Name must not contain " +
                      "following characters:\\n \\\\ / : \* ? \\" < > |",
                  "step name Edit Error", MessageBoxButtons.OK,
                  MessageBoxIcon.Error);
                return;
            }
            if (string.IsNullOrWhiteSpace(e.Label))
            {
                MessageBox.Show("Step name is Invalid");
                e.CancelEdit = true;
                return;
            }
    

    string label = (!string.IsNullOrEmpty(e.Label) ? e.Label :selectedNodeText);
    if (null != e.Label)
    {
    (node.ExecutionObject as Step).Name = label;

            }
            
        }
    
        void treeView\_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {           
            if (e.KeyCode == Keys.F2)
            {
                this.RenametoolStripMenuItem\_Click(this, null);
            }
        }
    
    C# tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups