Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Apply click sound to Image Control on Double Click
 

Apply click sound to Image Control on Double Click

Is it possible to apply a "Click" sound upon double clicking on an image control? Do I have to create the sound file and then add it as a resource? How do I apply this sound to a collection of image controls?

Thanks

EM
ExcelMonkey  Friday, April 03, 2009 3:11 PM

Hi,

No matter adding the sound file as a resource or not,we can get the sound filewith filepath.The followingarearticles aboutthis issue. You can play a sound when you double clicking an image control.Hoping that could help you.

How to: Play a Sound from a Windows Form

How to: Load a Sound Asynchronously within a Windows Form

Working with Resources

Best regards,
Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Thursday, April 09, 2009 9:17 AM

Hi,

No matter adding the sound file as a resource or not,we can get the sound filewith filepath.The followingarearticles aboutthis issue. You can play a sound when you double clicking an image control.Hoping that could help you.

How to: Play a Sound from a Windows Form

How to: Load a Sound Asynchronously within a Windows Form

Working with Resources

Best regards,
Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Thursday, April 09, 2009 9:17 AM

You can use google to search for other answers

Custom Search

More Threads

• Form Designer wont load!
• Gridview view issue
• Setting selected state of properties in propertygrid...
• How to create lable with rounded corners ?
• Split Container
• ByteViewer
• pattern: set, get property
• issues About Custom form Designer when running on .NetFramework2.0.
• How to resize Custom Panel Control inside Parent Panel to Prevent Horizontal Scrolling
• How to display SmartTags/DesignerVerbs in a home made DesignerHost