Handy+Hints+-+Justin+Scott


 * Handy Hint #1**

Forms have a property called "TopMost" This (if set to true) will place the form visible ontop of all applications open, unless they have that field as true as

well.

This can be changed in the property box. It can also be changed on formload, or whenever by the following code

Replace "frmMain" with the name of your form.

//frmMain.TopMost = true//


 * Handy Hint #2**

.Net has an object called a "//ContextMenuStrip//"

An example of what that is, is in microsoft word, when you right click on in the textfield it comes up with a whole bunch

of options such as "copy" and "paste", etc.

This menu of items is called a "//ContextMenuStrip//". With .Net you are able to make your own custom "//ContextMenuStrip//"s for

whatever control you desire it for.

You can add a context menu strip to the project by dragging it from the toolbox onto the for. However there is more to

adding it than that.

Once you know which control you wish to add the menu strip to, you simply goto the property box and find the property

called "**ContextMenuStrip**" and set it to the menu strip you just placed in your form.