CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: A menustrip

Threaded View

  1. #6
    Join Date
    Feb 2010
    Posts
    25

    Re: A menustrip

    Oh yeah, sorry about that, I got this fixed just when I posted this...thought I updated the error list.

    I think the whole thing here is a mess:
    Code:
    {
                    ToolStripItem itm = new MenuItem(tbl.name); //Create a new menuitem
                    itm.Click += new EventHandler(itm_Click); //assign event handlers for the OnClick event
                    this.MenuItem.Add(itm);
                 }

    Where in this thing I should specify that i want the records added to menuStrip1 in its testToolStripMenuItem ?
    I have searched for this things for days and couldn't find anything that could help me fix it / or rewrite it and atm I am desperate....
    Last edited by lost_bg; March 4th, 2010 at 11:46 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured