Results 1 to 17 of 17

Thread: Visual Inheritance - handling button click [Resolved]

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Visual Inheritance - handling button click [Resolved]

    I created Form1 with a button and a textbox on it. I then added Form2 to the project, and changed

    VB Code:
    1. Inherits System.Windows.Forms.Form


    to

    VB Code:
    1. Inherits WindowsApplication2.Form1

    That of course, got me the basic look of Form1 on Form2. Now, I'd like to handle the click event of Button1. How can I do that?
    Last edited by mendhak; Apr 28th, 2004 at 10:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width