Once upon a time (2004?) I installed .net 1.1 on w2k, and ran the demo 
code in the .net framework documentation. .net had (has?) a c# compiler, 
dll packager, etc so the code compiled and ran free of that pricey MS 
IDE tool.

Usually if you poke around, you'll often find a clear, concise example. 
Here's an event example that may help you get started.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconeventsmini-sample.asp

good luck

--John

Evan Brown wrote:
> I'm having a heck of a time finding the answer to my question on Google 
> Groups or the Weeb so I thought I'd throw it in here even though it's 
> not a Linux question.
> 
> I have a class which contains some static methods so I'm not 
> instantiating the class, I'm just calling it like Foo.bar() where bar 
> eventually returns a list of strings. Anyway I want to raise an event in 
> bar() before it goes away for a minute looking for databases, just so 
> the user gets something more then an hourglass, but it always gives me a 
> object reference not set to an instance of an object exception. So I 
> figure that you have to instantiate a Class to be able to have it throw 
> events. Am I right?
> 
> Evan Brown
> 
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
> 
> .
> 


_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to