George George

George George

  • NA
  • 778
  • 0

InitializeComponent method

Apr 14 2008 6:08 AM

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


Answers (4)