Click here to Skip to main content
15,881,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: Query execution problen in C# program Pin
seoamitk1-Sep-09 23:37
seoamitk1-Sep-09 23:37 
QuestionHow to connect to remote sql server 2000 in Windows Services created in C# Pin
Rajesh Koriya31-Aug-09 21:56
Rajesh Koriya31-Aug-09 21:56 
AnswerRe: How to connect to remote sql server 2000 in Windows Services created in C# Pin
Tamer Oz31-Aug-09 22:31
Tamer Oz31-Aug-09 22:31 
AnswerRe: How to connect to remote sql server 2000 in Windows Services created in C# Pin
mbhosle31-Aug-09 23:08
mbhosle31-Aug-09 23:08 
QuestionStart a Service after install it ? Pin
Mohammad Dayyan31-Aug-09 21:36
Mohammad Dayyan31-Aug-09 21:36 
AnswerRe: Start a Service after install it ? Pin
Tamer Oz31-Aug-09 22:41
Tamer Oz31-Aug-09 22:41 
GeneralRe: Start a Service after install it ? Pin
Mohammad Dayyan1-Sep-09 0:46
Mohammad Dayyan1-Sep-09 0:46 
QuestionHow to stop code generator in designer in this case Pin
vql31-Aug-09 21:28
vql31-Aug-09 21:28 
I am creating a custom control derived from ComboBox. I add some items to custom control in constructor of control.

// this code is sample
public MyCustomControl
{
this.Items.Add("test1");
this.Items.Add("test2");
}

When I drag this custom control to my form, designer auto-generate the code:

// this code in Form1.Designer.cs
this.mycustomControls.Items.AddRange(new object[] {
"test1",
"test2"});

When this custom control display on Form1, will have 4 items:
test1
test2
test1
test2

This problem cause duplication.

Please help me how to solve this problem, I don't want designer auto-generate these codes. Thanks.
QuestionHow to show a form from windows service? Pin
Tridip Bhattacharjee31-Aug-09 21:28
professionalTridip Bhattacharjee31-Aug-09 21:28 
AnswerRe: How to show a form from windows service? Pin
Vimalsoft(Pty) Ltd31-Aug-09 21:31
professionalVimalsoft(Pty) Ltd31-Aug-09 21:31 
AnswerRe: How to show a form from windows service? Pin
Hristo-Bojilov31-Aug-09 22:04
Hristo-Bojilov31-Aug-09 22:04 
AnswerRe: How to show a form from windows service? Pin
Tamer Oz31-Aug-09 22:05
Tamer Oz31-Aug-09 22:05 
QuestionCheck Box Click Event Pin
Saiyed Alam31-Aug-09 20:20
Saiyed Alam31-Aug-09 20:20 
AnswerRe: Check Box Click Event Pin
dan!sh 31-Aug-09 22:31
professional dan!sh 31-Aug-09 22:31 
Questioncreating word document using c# Pin
Swetha Srinivasan31-Aug-09 20:16
Swetha Srinivasan31-Aug-09 20:16 
AnswerRe: creating word document using c# Pin
Christian Graus31-Aug-09 20:36
protectorChristian Graus31-Aug-09 20:36 
GeneralRe: creating word document using c# Pin
Swetha Srinivasan31-Aug-09 23:20
Swetha Srinivasan31-Aug-09 23:20 
AnswerRe: creating word document using c# Pin
stancrm31-Aug-09 20:38
stancrm31-Aug-09 20:38 
QuestionWCF - HTTP Post The remote server returned an error: (400) Bad Request Pin
senthilkamal31-Aug-09 19:52
senthilkamal31-Aug-09 19:52 
AnswerRe: WCF - HTTP Post The remote server returned an error: (400) Bad Request Pin
Vimalsoft(Pty) Ltd31-Aug-09 21:32
professionalVimalsoft(Pty) Ltd31-Aug-09 21:32 
QuestionWebservices error Pin
sevag.m31-Aug-09 19:26
sevag.m31-Aug-09 19:26 
AnswerRe: Urgent need help :) Webservices Pin
Mycroft Holmes31-Aug-09 19:31
professionalMycroft Holmes31-Aug-09 19:31 
GeneralWebservices Pin
sevag.m31-Aug-09 20:27
sevag.m31-Aug-09 20:27 
Question[Message Deleted] Pin
Swetha Srinivasan31-Aug-09 18:34
Swetha Srinivasan31-Aug-09 18:34 
AnswerRe: Progress Bar in c# Pin
Christian Graus31-Aug-09 18:43
protectorChristian Graus31-Aug-09 18:43 

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.