The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I had created a class, that class(inherits button) contains a property of type form, what i want is, when i add my new button to the stage, i can select from the property window which form (from my 4 forms) that the button will open>
Dim m_Form As Form
PublicProperty FormToOpen As Form
Set(ByVal value As Form)
m_Form = value
EndGetEndPropertyPrivateSub cMyButton_Click(ByVal sender AsObject, ByVal e As System.EventArgs) HandlesMe.Click
A man was driving along the highway, and saw a rabbit hopping across the middle of the road. He swerved to avoid hitting the rabbit, but unfortunately the rabbit jumped in front of the car and was hit. The driver, being a sensitive man as well as an animal lover, pulled over to the side of the road and got out to see what had become of the rabbit. Much to his dismay, the rabbit was dead. The driver felt so awful he began to cry.
A woman driving down the highway saw the man crying on the side of the road and pulled over. She stepped out of her car and asked the man what was wrong.
"I feel terrible," he explained. "I accidently hit this rabbit and killed it."
The woman told the man not to worry. She knew what to do. She went to her car trunk and pulled out a spray can. She walked over to the limp, dead rabbit, and sprayed the contents of the can onto the rabbit. Miraculously, the rabbit came to life, jumped up, waved its paw at the two humans and hopped down the road. 50 feet away the rabbit stopped, turned around, waved at the two again, hopped down the road another 50 feet, turned, waved, and hopped another 50 feet. The man was astonished. He couldn't figure out what substance could be in the woman's spray can! He ran over to the woman and demanded, " What was in your spray can? What did you spray onto that rabbit?" The woman turned the can around so that the man could read the label. It said:
"'Hare Spray' Restores Life to Dead Hare. Adds Permanent Wave."
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain