Click here to Skip to main content
15,895,486 members
Home / Discussions / C#
   

C#

 
QuestionHow to use drawmultilinestring method Pin
nayem26-Nov-07 21:36
nayem26-Nov-07 21:36 
AnswerRe: How to use drawmultilinestring method Pin
Bekjong26-Nov-07 22:48
Bekjong26-Nov-07 22:48 
QuestionTCP/IP Pin
half-life26-Nov-07 21:19
half-life26-Nov-07 21:19 
AnswerRe: TCP/IP Pin
KennyPatel26-Nov-07 21:45
KennyPatel26-Nov-07 21:45 
GeneralRe: TCP/IP Pin
half-life27-Nov-07 5:18
half-life27-Nov-07 5:18 
QuestionSearching for devices Pin
Strategic_Thinker26-Nov-07 20:51
Strategic_Thinker26-Nov-07 20:51 
QuestionVS question about the auto generated InitializeComponent() method Pin
akkram26-Nov-07 20:51
akkram26-Nov-07 20:51 
AnswerRe: VS question about the auto generated InitializeComponent() method Pin
Urs Enzler26-Nov-07 21:56
Urs Enzler26-Nov-07 21:56 
To use your UserControl within the VS Designer it has to have a default constructor.

I see two solutions to your problem:

1) let everything the way it is now and add a property set what you have to set.
2) Add your UserControl dynamically (with the constructor with your parameters) in the Load event of your Form.


If you want designer support then I'd suggest you use solution 1. The property value can be set either in the designer (if it is a constant value) or somewhere in the code.

Happy coding



-^-^-^-^-^-^-^-^-^-^-^-
no code is free of bugs

Questionfetching the value of a datafield into a textbox Pin
Nitin.raj26-Nov-07 20:37
Nitin.raj26-Nov-07 20:37 
AnswerRe: fetching the value of a datafield into a textbox Pin
Sun Rays26-Nov-07 21:12
Sun Rays26-Nov-07 21:12 
GeneralRe: fetching the value of a datafield into a textbox Pin
Nitin.raj26-Nov-07 23:28
Nitin.raj26-Nov-07 23:28 
GeneralRe: fetching the value of a datafield into a textbox Pin
Sun Rays27-Nov-07 0:27
Sun Rays27-Nov-07 0:27 
AnswerRe: fetching the value of a datafield into a textbox Pin
KennyPatel26-Nov-07 21:39
KennyPatel26-Nov-07 21:39 
GeneralRe: fetching the value of a datafield into a textbox Pin
Nitin.raj26-Nov-07 23:25
Nitin.raj26-Nov-07 23:25 
Questionprogressbar along with task activity [modified] Pin
pradhumanksingh26-Nov-07 20:34
pradhumanksingh26-Nov-07 20:34 
AnswerRe: progressbar along with task activity Pin
Sun Rays26-Nov-07 21:16
Sun Rays26-Nov-07 21:16 
GeneralRe: progressbar along with task activity Pin
pradhumanksingh26-Nov-07 21:47
pradhumanksingh26-Nov-07 21:47 
GeneralRe: progressbar along with task activity Pin
Sun Rays26-Nov-07 21:52
Sun Rays26-Nov-07 21:52 
GeneralRe: progressbar along with task activity Pin
pradhumanksingh26-Nov-07 22:11
pradhumanksingh26-Nov-07 22:11 
GeneralRe: progressbar along with task activity Pin
Sun Rays26-Nov-07 22:38
Sun Rays26-Nov-07 22:38 
QuestionHow to disable a ListView item? Pin
arefkarimi26-Nov-07 20:25
arefkarimi26-Nov-07 20:25 
AnswerBlatant Multiposting Within 3 Minutes (Occurence: 1) : Please Ignore Pin
Vasudevan Deepak Kumar26-Nov-07 20:28
Vasudevan Deepak Kumar26-Nov-07 20:28 
QuestionHow to disable a ListVite item? Pin
arefkarimi26-Nov-07 20:23
arefkarimi26-Nov-07 20:23 
AnswerBlatant Multiposting within 1 minute :: Occurence: 2 (Please Ignore) Pin
Vasudevan Deepak Kumar26-Nov-07 20:30
Vasudevan Deepak Kumar26-Nov-07 20:30 
QuestionHow to disable a ListViewItem? Pin
arefkarimi26-Nov-07 20:22
arefkarimi26-Nov-07 20:22 

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.