Your first problem is the fact that you write barely understandable questions... structure your questions correctly and learn proper English.
by the looks of things, you are either a web developer that is trying to code software or you are a web developer that used to use php and has no real clue as to what JavaScript Is.....
If you are using windows forms (SOFTWARE , NOT WEB) then you will find the answers in your events tab (next to properties).
if you are using ASP , C# and javascript, there are multiple ways of doing this, however i think the most time effective at this time would be to use attributes...
in your form load event type something like this:
pictureboxId.Attributes.Add("onMouseOver", "JS EVENT HERE");
// the above will act as a mouse over event.
// Now lets do the mouse out event
pictureboxId.Attributes.Add("onMouseOut", "JS Event Here");
Play with it a bit .... and see where the road takes you