For Programmers: Free Programming Magazines  


Home > Archive > C# > February 2005 > Custom code generation like Timer.SynchronizingObject?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Custom code generation like Timer.SynchronizingObject?
tsteinke@gmail.com

2005-02-21, 4:00 pm

The Timer Component will insert the following code into the
InitializeComponent() of the container.

timer1.SynchronizingObject=this;

How would one implement this in the component model. The only way I can
figure it out is by using Custom Code Generation.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com