Hello everyone,
To implement a service, I think we just need to derived from ServiceBase class, and implement some event handler function, like OnStart, OnStop, etc.
As described in the sample,
http://msdn2.microsoft.com/en-us/library/system.serviceprocess.servicebase(VS.80).aspx
What is the function of method InitializeComponent? I found it never called explicitly in the class SimpleService, nor there are any document from MSDN about this method. Any ideas?
thanks in advance,
George