Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
GeneralRe: CodePrject Article Pin
minhpc_bk11-Mar-05 16:36
minhpc_bk11-Mar-05 16:36 
GeneralAdding New Forms and Relaoding Forms Pin
Libert CT11-Mar-05 14:30
sussLibert CT11-Mar-05 14:30 
GeneralRe: Adding New Forms and Relaoding Forms Pin
sreejith ss nair11-Mar-05 22:26
sreejith ss nair11-Mar-05 22:26 
GeneralC# dll component to react on a specific url Pin
bossehansen11-Mar-05 11:40
bossehansen11-Mar-05 11:40 
GeneralRe: C# dll component to react on a specific url Pin
Nick Parker11-Mar-05 11:57
protectorNick Parker11-Mar-05 11:57 
GeneralRe: C# dll component to react on a specific url Pin
bossehansen11-Mar-05 21:19
bossehansen11-Mar-05 21:19 
GeneralRe: C# dll component to react on a specific url Pin
Nick Parker12-Mar-05 3:05
protectorNick Parker12-Mar-05 3:05 
GeneralCustom Controls Pin
Kwai Cheng Kane11-Mar-05 9:28
Kwai Cheng Kane11-Mar-05 9:28 
I created a new custom control, based on the ComboBox standard control, by inheriting the control. I then put it into a library and added the new control/tool to the toolbox.

After adding the control to a program in several places, it seemed to work as desired and the compiler had no problems with it. However, about 1 out of 10 times, when I go display the interface layout in the visual designer, Visual Studio strips out ALL initialization code for all of the custom controls. It is becoming a major headache having to go and compare the version with the last checked into sourcesafe and try to reconstruct the control initialization code.

Is there any way to get Visual Studio to STOP STRIPPING OUT ALL INITIALIZATION CODE ON CUSTOM CONTROLS????!!!!!!

I am NOT doing anything strange with the control (i.e. adding special code in the InitControls() or anywhere else that Visual Studio has set aside as dynamically generated by a designer refresh). It just insists on stripping out the code IT added when I added the control!!!!

I am having to re-add this init code about 3 or 4 times a week and it is getting EXTREMELY AGGRAVATING!!!!!!!

Mad | :mad: Mad | :mad:
GeneralRe: Custom Controls Pin
Judah Gabriel Himango11-Mar-05 11:36
sponsorJudah Gabriel Himango11-Mar-05 11:36 
GeneralRe: Custom Controls Pin
Kwai Cheng Kane11-Mar-05 12:54
Kwai Cheng Kane11-Mar-05 12:54 
GeneralRe: Custom Controls Pin
Judah Gabriel Himango11-Mar-05 18:34
sponsorJudah Gabriel Himango11-Mar-05 18:34 
GeneralRe: Custom Controls Pin
Kwai Cheng Kane14-Mar-05 5:04
Kwai Cheng Kane14-Mar-05 5:04 
GeneralAnybody else having problems with arrow keys Pin
theDexter11-Mar-05 9:08
theDexter11-Mar-05 9:08 
Generaladding item to default menu on windows form Pin
asayyam Khan11-Mar-05 8:11
asayyam Khan11-Mar-05 8:11 
GeneralRe: adding item to default menu on windows form Pin
Pooria Madani11-Mar-05 16:23
Pooria Madani11-Mar-05 16:23 
Generalipconfig commands in C# Pin
Vodstok11-Mar-05 6:07
Vodstok11-Mar-05 6:07 
GeneralRe: ipconfig commands in C# Pin
Dave Kreskowiak11-Mar-05 7:12
mveDave Kreskowiak11-Mar-05 7:12 
GeneralGDI+ Gradients Pin
C Flat11-Mar-05 5:50
C Flat11-Mar-05 5:50 
GeneralRe: GDI+ Gradients Pin
TylerBrinks11-Mar-05 6:05
TylerBrinks11-Mar-05 6:05 
GeneralRe: GDI+ Gradients Pin
C Flat11-Mar-05 6:31
C Flat11-Mar-05 6:31 
GeneralRe: GDI+ Gradients Pin
TylerBrinks11-Mar-05 7:11
TylerBrinks11-Mar-05 7:11 
GeneralRe: GDI+ Gradients Pin
Judah Gabriel Himango11-Mar-05 6:06
sponsorJudah Gabriel Himango11-Mar-05 6:06 
GeneralRe: GDI+ Gradients Pin
MoustafaS11-Mar-05 8:00
MoustafaS11-Mar-05 8:00 
GeneralRe: GDI+ Gradients Pin
C Flat13-Mar-05 7:31
C Flat13-Mar-05 7:31 
GeneralAnother thread question Pin
PaleyX11-Mar-05 2:54
PaleyX11-Mar-05 2:54 

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.