Click here to Skip to main content
15,889,200 members
Home / Discussions / C#
   

C#

 
GeneralRe: MSAccess DB import to SQL server using C# Pin
new2pgrmg14-Apr-08 18:11
new2pgrmg14-Apr-08 18:11 
Generalreg invoking vb6's method in c# Pin
Member 400849214-Apr-08 1:49
Member 400849214-Apr-08 1:49 
GeneralRe: reg invoking vb6's method in c# Pin
N a v a n e e t h14-Apr-08 1:53
N a v a n e e t h14-Apr-08 1:53 
GeneralRe: reg invoking vb6's method in c# Pin
Member 400849214-Apr-08 19:36
Member 400849214-Apr-08 19:36 
GeneralRe: reg invoking vb6's method in c# Pin
paas14-Apr-08 2:26
paas14-Apr-08 2:26 
Questionhelp on date manipulation Pin
tasumisra14-Apr-08 0:30
tasumisra14-Apr-08 0:30 
GeneralRe: help on date manipulation Pin
Christian Graus14-Apr-08 0:38
protectorChristian Graus14-Apr-08 0:38 
GeneralInitializeComponent method Pin
George_George14-Apr-08 0:05
George_George14-Apr-08 0:05 
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
GeneralRe: InitializeComponent method Pin
Christian Graus14-Apr-08 0:23
protectorChristian Graus14-Apr-08 0:23 
GeneralRe: InitializeComponent method Pin
George_George14-Apr-08 0:41
George_George14-Apr-08 0:41 
GeneralRe: InitializeComponent method Pin
phannon8614-Apr-08 0:47
professionalphannon8614-Apr-08 0:47 
GeneralRe: InitializeComponent method Pin
George_George14-Apr-08 2:06
George_George14-Apr-08 2:06 
GeneralRe: InitializeComponent method Pin
N a v a n e e t h14-Apr-08 0:58
N a v a n e e t h14-Apr-08 0:58 
GeneralRe: InitializeComponent method Pin
George_George14-Apr-08 2:15
George_George14-Apr-08 2:15 
GeneralRe: InitializeComponent method Pin
N a v a n e e t h14-Apr-08 2:26
N a v a n e e t h14-Apr-08 2:26 
GeneralRe: InitializeComponent method Pin
George_George14-Apr-08 2:43
George_George14-Apr-08 2:43 
GeneralBACK TAB Pin
M Riaz Bashir13-Apr-08 23:59
M Riaz Bashir13-Apr-08 23:59 
GeneralRe: BACK TAB Pin
dan!sh 14-Apr-08 0:13
professional dan!sh 14-Apr-08 0:13 
GeneralText Validation Pin
MumbleB13-Apr-08 23:44
MumbleB13-Apr-08 23:44 
GeneralRe: Text Validation Pin
phannon8613-Apr-08 23:52
professionalphannon8613-Apr-08 23:52 
GeneralRe: Text Validation Pin
Christian Graus13-Apr-08 23:53
protectorChristian Graus13-Apr-08 23:53 
GeneralRe: Text Validation Pin
MumbleB14-Apr-08 2:39
MumbleB14-Apr-08 2:39 
GeneralRe: Text Validation Pin
Christian Graus14-Apr-08 3:02
protectorChristian Graus14-Apr-08 3:02 
GeneralRe: Text Validation Pin
N a v a n e e t h13-Apr-08 23:56
N a v a n e e t h13-Apr-08 23:56 
GeneralRe: Text Validation Pin
Herman<T>.Instance14-Apr-08 2:38
Herman<T>.Instance14-Apr-08 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.