Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27360

VS 2013 Easy way to mask a menu strip to other forms?

$
0
0
I have multiple form controls in the menu strip that do things such as keep a secondary form open and hide the main form, clear all inputs on the main form and set focus, etc.

What is an easy way to mask this menustrip to that secondary form and keep all the functionality? To save redundant code, for now, I've just copied over the menu strip and then set all the click events on the secondary form to PerformClick() of the main form click events. Is this a safe and adequate way of accomplishing this?

Viewing all articles
Browse latest Browse all 27360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>