Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am writing a small gui based application where I need to handle the event occured while inserting HDD.

I know the name of event, but the question is how do I handle that event in my application?

This might be easy in C#, but being a beginner in C# it is a big challenge for me.

Any suggestions are highly appreciated!

Thanks
Abid
Posted
Updated 10-Mar-11 21:28pm
v2
Comments
Dalek Dave 11-Mar-11 3:28am    
Edited for Grammar.
Toli Cuturicu 11-Mar-11 12:55pm    
Inserting an HDD?? Into what? While the computer is powered on?! Wow!

Events and event handling in C#[^] article by Nish in CP might help you.
 
Share this answer
 
Comments
Dalek Dave 11-Mar-11 3:29am    
Good Link
[no name] 11-Mar-11 3:32am    
Thanks Dalek.
Also read this, better style of adding handlers: how to call keydown event on particular button click[^]

—SA
 
Share this answer
 
Comments
Dalek Dave 11-Mar-11 3:29am    
Very Good, 5.
Sergey Alexandrovich Kryukov 11-Mar-11 10:55am    
Thank you.
--SA
Espen Harlinn 11-Mar-11 14:04pm    
My 5
Sergey Alexandrovich Kryukov 11-Mar-11 22:07pm    
Thank you very much.
--SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900