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

C#

 
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 
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 
George_George wrote:
Which party will invoke this method?


As CG said, it is auto generated. In windows application, controls will be initialized and added to the container in this method. This will be called from the constructor. In service you don't need this since you are not using any components like Timer etc. If you are using components like Timer, you can make use of this method to initialize the component and add it to the components collection which is IContainer instance. This helps the application to dispose the components used when service is getting disposed.

Hope this helps

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

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 
QuestionHow to manipulated arraylist or remove() of arraylist? Pin
vishalcodeproj13-Apr-08 23:36
vishalcodeproj13-Apr-08 23:36 
AnswerRe: How to manipulated arraylist or remove() of arraylist? Pin
Christian Graus13-Apr-08 23:38
protectorChristian Graus13-Apr-08 23:38 
GeneralDataTable.Merge() Method Pin
half-life13-Apr-08 23:32
half-life13-Apr-08 23:32 
Questionhow i apply encript and decript operations in C# Pin
saiftanoli13-Apr-08 23:27
saiftanoli13-Apr-08 23:27 
AnswerRe: how i apply encript and decript operations in C# Pin
Christian Graus13-Apr-08 23:37
protectorChristian Graus13-Apr-08 23:37 

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.