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.
Holy sh*t. Time for a remake of "Flashdance"[^] - you just found the perfect location!
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
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