Questions tagged [menustrip]

This tag can be used in questions involving usage of MenuStrip class from Windows Forms (a GUI class library in the Microsoft .NET Framework).

255 questions
0
votes
3 answers

C# WinForm MenuStrip Event doesn't seem to fire

I don't do much WinFom development so I am not too familiar with the MenuStrip control. I have added a menu strip to my form and added (1) item to it. All of this was done using the designer. So I have Utilities -> Download Utility. When I double…
Nick
  • 19,198
  • 51
  • 185
  • 312
0
votes
1 answer

How to Add MenuStrip and DataGridView in Parent Form on Button_Click in Child Form

I'm a Student of C# and doing a Windows Form Application using in visual studio 2012. The problem that i have is. I have a parent form with a menustrip = File, with sub item Login and on Login item Click the Child form loads so you can enter your…
Ger
  • 1
  • 2
0
votes
3 answers

Menu click causes form to "lose focus" and menu dropdown disappears

I have noticed some strange form interactions while using a ContextMenuStrip or a MenuStrip. I don't really know what is causing it so the following should create a repeatable test for anyone looking into this: I've created two Windows Forms: Form1…
VineAndBranches
  • 468
  • 3
  • 7
0
votes
1 answer

DataSet.HasChanges not work for selected row (onClick MenuStrip)

I have a datagridview binded with MyDataSet. At form load, I fill the datagridview with this command: MyTableAdapter.Fill(this.MyDataSet.ExtractData); Now, I've added a MenuStrip and I want to get MyDataSet changes when I click on File/Save, but if…
T30
  • 11,422
  • 7
  • 53
  • 57
0
votes
2 answers

Sharing MenuStrip between Forms

I have a question a litle bit connected with this one: How to create navigation inside program Form - noob alert again. I'm trying to create a navigation inside c# program like a dynamic dropdown menu on website. I'm using diferent C# Forms like…
baron_bartek
  • 1,073
  • 2
  • 20
  • 39
0
votes
1 answer

Menu Strip Control "Window"

I am working on a project and am just stymied by this. It should be really straight forward. I have included the code so you can see the other Menu Strip Items. The user has the ability to open as many "Child" forms into the mdiParent form. I…
0
votes
1 answer

How to create navigation inside program Form

Warning! This is noob question probably! Sorry in advance. I'm learning C# (using MS Studio 2013) and I'm having hard time creating some kind of decent navigation in simple desktop program. Basically what I want is this: MenuStrip with options like…
baron_bartek
  • 1,073
  • 2
  • 20
  • 39
0
votes
3 answers

What navigation control would you choose to use in your application?

ToolStrip with MenuStrip or RibbonBar? It combines both of the controls. It also have a TabPages navigation, contextual tabs, etc. However the RibbonBar is a very complex control and when you open a new document in for example Word2007 the half of…
Chris Hughes
  • 717
  • 5
  • 2
0
votes
1 answer

How to add "On Click" event to dynamically created menuStrip item from mySQL?

I've coded my form to take name values from a table in MySQL and add them as sub menu items. Now I would like for my code to load information from another table corresponding to the menu item that was created. How can i do that? Here is my working…
0xdesdenova
  • 192
  • 1
  • 8
0
votes
1 answer

MenuStrip sub items opening direction

Like I said in the title; I want to change the direction of the sub menu that opens when you click on a menu item. This image shows the left lower corner of my application. What I want to do is open the menu to the top and not to the bottom as…
0
votes
1 answer

Panel Won't Show When Called From MenuStrip

I have a Panel called Panel_Manage_Calculations on a Form called Criteria. I have the visible property to a default of False. When I call it from my MenuStrip called MenutStrip_Main with this code: Private Sub…
gromit1
  • 577
  • 2
  • 14
  • 36
0
votes
1 answer

C# Positioning of MenuStrip.Items (SubMenues)

I have put together this radio button menustrip existing of 2 seperate submenu items when compiling the 2 menus show up on top of each other... how is it possible to have them side by side? Here is a screenshot...…
incubuzz1978
  • 53
  • 1
  • 8
0
votes
1 answer

Aligning a logo on the right of a menu strip in Visual Studio 2010

I've got a menu strip, inside which I want to embed my company logo and align it to the right. My project is on a Windows Form Application, sorry for not including this before. Several google-trips have found little, this is probably my not using…
jwarner112
  • 1,492
  • 2
  • 14
  • 29
0
votes
1 answer

Manipulating menu strip font colors in Visual Studio 2010

I'm building a program on which I'm hoping to have a black background and white text. I've tried setting the background color to black, the forecolor/font color to white, but during highlight I want two different colors and another two during while…
jwarner112
  • 1,492
  • 2
  • 14
  • 29
0
votes
1 answer

Clear Form without remove menu

I create controls dynamically (checkBoxes, listBox, trackBar...) on a Form, and i put menuStrip using the editor. I'd like to remove all the controls, and i'd like to keep the menu. When i use this line: this.Controls.Clear(); it removes the menu…
sifear
  • 89
  • 7