Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
GeneralIL code generation on the fly Pin
SOCM_FP_CPP28-Jul-04 2:15
SOCM_FP_CPP28-Jul-04 2:15 
GeneralRe: IL code generation on the fly Pin
Nick Parker28-Jul-04 3:12
protectorNick Parker28-Jul-04 3:12 
GeneralToolbox Visibility Question - Custom Controls Pin
ddelapasse28-Jul-04 1:39
ddelapasse28-Jul-04 1:39 
GeneralRe: Toolbox Visibility Question - Custom Controls Pin
leppie28-Jul-04 3:13
leppie28-Jul-04 3:13 
GeneralRe: Toolbox Visibility Question - Custom Controls Pin
Heath Stewart28-Jul-04 4:54
protectorHeath Stewart28-Jul-04 4:54 
GeneralRe: Toolbox Visibility Question - Custom Controls Pin
Nick Parker28-Jul-04 4:53
protectorNick Parker28-Jul-04 4:53 
Questionhowto generalise compareoperations? Pin
Stephan Wright28-Jul-04 1:34
Stephan Wright28-Jul-04 1:34 
AnswerRe: howto generalise compareoperations? Pin
Daniel Turini28-Jul-04 1:53
Daniel Turini28-Jul-04 1:53 
If I got it right, you can easily do it by creating an array and put references to your textboxes there:
<br />
TextBox []theArray = { TextBox1, TextBox2, TextBox3, ..., TextBox12 };<br />


Then your if becomes

<br />
if (lTelephone[0].keys[li].telephoneNo!=theArray[i].Text)<br />


If an Array is not enough, you can use a Hashtable, an ArrayList, and so on.
People often overlook the fact that controls are simply objects like any other object.


Yes, even I am blogging now!
GeneralRe: howto generalise compareoperations? Pin
Stephan Wright28-Jul-04 2:16
Stephan Wright28-Jul-04 2:16 
QuestionDo MS Collection Class Enumerators use strong reference to keep collection alive? Pin
Paul Evans28-Jul-04 1:29
Paul Evans28-Jul-04 1:29 
AnswerRe: Do MS Collection Class Enumerators use strong reference to keep collection alive? Pin
Daniel Turini28-Jul-04 1:55
Daniel Turini28-Jul-04 1:55 
GeneralLicense Key Create / Validate for windows Application Pin
wcoods28-Jul-04 0:42
wcoods28-Jul-04 0:42 
GeneralRe: License Key Create / Validate for windows Application Pin
Heath Stewart28-Jul-04 4:39
protectorHeath Stewart28-Jul-04 4:39 
GeneralFinding File names from an Executable Pin
Lee Majors27-Jul-04 23:19
sussLee Majors27-Jul-04 23:19 
GeneralRe: Finding File names from an Executable Pin
Colin Angus Mackay28-Jul-04 0:17
Colin Angus Mackay28-Jul-04 0:17 
GeneralRe: Finding File names from an Executable Pin
Lee C Baker28-Jul-04 0:56
Lee C Baker28-Jul-04 0:56 
GeneralRe: Finding File names from an Executable Pin
Heath Stewart28-Jul-04 4:19
protectorHeath Stewart28-Jul-04 4:19 
GeneralSerializing COM objects Pin
wute527-Jul-04 14:06
wute527-Jul-04 14:06 
GeneralRe: Serializing COM objects Pin
Heath Stewart28-Jul-04 4:27
protectorHeath Stewart28-Jul-04 4:27 
GeneralAutomatically Display Expire Date Pin
ASGill27-Jul-04 13:54
ASGill27-Jul-04 13:54 
GeneralRe: Automatically Display Expire Date Pin
Colin Angus Mackay28-Jul-04 0:31
Colin Angus Mackay28-Jul-04 0:31 
GeneralRe: Automatically Display Expire Date Pin
ASGill28-Jul-04 7:58
ASGill28-Jul-04 7:58 
GeneralRe: Automatically Display Expire Date Pin
Roman Rodov28-Jul-04 15:50
Roman Rodov28-Jul-04 15:50 
Questiondouble -&gt; float : casting or Convert.ToSingle ? Pin
crushinghellhammer27-Jul-04 13:13
crushinghellhammer27-Jul-04 13:13 
AnswerRe: double -&gt; float : casting or Convert.ToSingle ? Pin
mikker_12327-Jul-04 22:56
mikker_12327-Jul-04 22:56 

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.