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. C#
  4. calling datagridview double click event on button click

calling datagridview double click event on button click

Scheduled Pinned Locked Moved C#
helpquestion
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.
  • A Offline
    A Offline
    abhinish
    wrote on last edited by
    #1

    hi guys! need some help again.. how can i call datagridview double click event on button click of a form.. abhinav

    J 1 Reply Last reply
    0
    • A abhinish

      hi guys! need some help again.. how can i call datagridview double click event on button click of a form.. abhinav

      J Offline
      J Offline
      Josh Smith
      wrote on last edited by
      #2

      No matter how hard you try, the CLR won't let you raise an event from an object which does not expose that event. That's just the way it is. Why do you want to do that, anyways? Could you not accomplish whatever it is you're attempting to do by calling the method which executes when the DoubleClick event is raised (instead of raising the event)? Josh

      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