[SOLVED]C# and VB Menustrip

Discussion in 'Mixed Languages' started by Muerto, Aug 23, 2012.

  1. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,858
    2,112
    60
    #1 Muerto, Aug 23, 2012
    Last edited: Jan 12, 2021
    ...
     
  2. Calistoga

    Calistoga MDL Senior Member

    Jul 25, 2009
    421
    199
    10
    Agreed, the MenuStrip looks absolutely hideous.

    It's been a while since I used it, but I believe the MainMenu class is what you're looking for.
     
  3. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,858
    2,112
    60
    #3 Muerto, Aug 23, 2012
    Last edited: Jan 12, 2021
    (OP)
    ...
     
  4. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,171
    120
    Yep. MainMenu control loads the API resources to implement the menu on the GUI.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,858
    2,112
    60
    #5 Muerto, Aug 24, 2012
    Last edited: Jan 12, 2021
    (OP)
    ...
     
  6. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,515
    7,171
    120
    #6 Josh Cell, Aug 25, 2012
    Last edited by a moderator: Apr 20, 2017
    Personally I edit this context on FormDesigner class removing this red property:

    Code:
    this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components);
    Then the menu doesn't depends of the form controls and it not releases when exit.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...