Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi Am new for Winform application, I used menu strip in my form.In that menu the sub menus are new,open,save,save as options .I need code for manipulate these operations.Please kindly help me in that manner. Thanks in Advance.
Posted
Updated 19-Oct-11 4:42am
v2

We can't.

The file operations you are talking about are not just file related - they are related to the inner structure of your application. If you app works around a tree of independent videos, then "Save File" will mean something totally different to what it would if the application was a single paragraph based post-it note simulator.

Think about your application, how it works, what it works with, what it needs to know, and try to work out what you need to save - that will generally help to lead you to a suitable format.
 
Share this answer
 
Comments
OriginalGriff 19-Oct-11 11:03am    
Cheers! Deleted.
That's happened a couple of times - I think my mouse may be dying and issuing two separate click events in close succession, perhaps.
Simon Bang Terkildsen 19-Oct-11 11:01am    
True, though I suppose the OP might actually be asking how to handle the click events of the menu items.
In which case select a menu item in the designer and open Properties (F4) find the click event and double click it, you now have an event handler (method) in your code behind.
Save[^]

Open[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900