Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Events in Class Library...!

Events in Class Library...!

Scheduled Pinned Locked Moved Visual Basic
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jamal Abdul Nasir
    wrote on last edited by
    #1

    --> i want to send form-events from the form to a class library... which i want to handle them in the class library... but i cannot find any way to do this... e.g: keypress event of a textbox..... --> How can i handle events in a class library..?

    J A Nasir K

    modified on Saturday, February 21, 2009 8:38 AM

    A 1 Reply Last reply
    0
    • J Jamal Abdul Nasir

      --> i want to send form-events from the form to a class library... which i want to handle them in the class library... but i cannot find any way to do this... e.g: keypress event of a textbox..... --> How can i handle events in a class library..?

      J A Nasir K

      modified on Saturday, February 21, 2009 8:38 AM

      A Offline
      A Offline
      ABitSmart
      wrote on last edited by
      #2

      You should have event handlers defined in your class library. You register those event handlers with the Form events. When the event is fired(from the Form), all event handlers registered will be invoked. Since your class library had registered, its event handler will also be invoked.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups