Click here to Skip to main content
15,885,182 members
Home / Discussions / C#
   

C#

 
Questionforms Pin
Mohammed Elkholy27-Jun-06 11:20
Mohammed Elkholy27-Jun-06 11:20 
AnswerRe: forms Pin
Jun Du27-Jun-06 13:36
Jun Du27-Jun-06 13:36 
QuestionHelp please: Naming the objects at runtime! Pin
Rojan Gh.27-Jun-06 11:17
professionalRojan Gh.27-Jun-06 11:17 
AnswerRe: Help please: Naming the objects at runtime! [modified] Pin
Wjousts27-Jun-06 11:28
Wjousts27-Jun-06 11:28 
AnswerRe: Help please: Naming the objects at runtime! Pin
Rojan Gh.28-Jun-06 2:35
professionalRojan Gh.28-Jun-06 2:35 
AnswerRe: Help please: Naming the objects at runtime! Pin
Guffa27-Jun-06 13:28
Guffa27-Jun-06 13:28 
AnswerRe: Help please: Naming the objects at runtime! Pin
Rojan Gh.28-Jun-06 2:48
professionalRojan Gh.28-Jun-06 2:48 
AnswerRe: Help please: Naming the objects at runtime! Pin
Guffa28-Jun-06 9:40
Guffa28-Jun-06 9:40 
Sojaner wrote:
Do you mean using a 2 dimention array of PictureBox controls?


How you store the references depends on how you want to access them. If they are arranged in rows and columns in the form doesn't mean that you have to use a two dimensional array to keep track of them.

And you mean, when coding in C#, from the beginning, you have to plane every object and other things and there is no way to decide what to do at runtime, like scripting languages?


Yes. I have never really seen that as a limitation, though.

There are a lot of neat data structures like arrays, lists, linked lists, sorted lists, dictionaries, sorted dictionaries, queues and stacks that you can use to store data. A dictionary actually resembles what a script language uses to handle all variables.

I've built a lot of rather advanced web sites in VBScript too, and never needed to create variables dynamically there either. I believe that the Eval command is pretty much like the Goto command; it's never really needed, and your code gets better if you avoid it.


---
b { font-weight: normal; }


-- modified at 15:41 Wednesday 28th June, 2006
AnswerRe: Help please: Naming the objects at runtime! [modified] Pin
Rojan Gh.28-Jun-06 12:08
professionalRojan Gh.28-Jun-06 12:08 
AnswerRe: Help please: Naming the objects at runtime! Pin
Guffa28-Jun-06 20:14
Guffa28-Jun-06 20:14 
QuestionOpen Web form from Mdi form Pin
Saamir27-Jun-06 11:16
Saamir27-Jun-06 11:16 
AnswerRe: Open Web form from Mdi form Pin
led mike27-Jun-06 11:20
led mike27-Jun-06 11:20 
QuestionEvaluating a mathematical equation from a string [modified] Pin
Xodiak27-Jun-06 10:33
Xodiak27-Jun-06 10:33 
AnswerRe: Evaluating a mathematical equation from a string Pin
Josh Smith27-Jun-06 10:49
Josh Smith27-Jun-06 10:49 
AnswerRe: Need a way to jump to record. [modified] Pin
PyroManiak27-Jun-06 10:40
PyroManiak27-Jun-06 10:40 
QuestionDragDrop of buttons to TabControl Pin
For_IT27-Jun-06 9:53
For_IT27-Jun-06 9:53 
QuestionSaving Unicode characters Pin
For_IT27-Jun-06 9:46
For_IT27-Jun-06 9:46 
AnswerRe: Saving Unicode characters Pin
For_IT27-Jun-06 9:58
For_IT27-Jun-06 9:58 
QuestionDebug CompactFramework app on local PC? Pin
QuiJohn27-Jun-06 9:06
QuiJohn27-Jun-06 9:06 
AnswerRe: Debug CompactFramework app on local PC? Pin
Gavin Roberts27-Jun-06 23:20
Gavin Roberts27-Jun-06 23:20 
QuestionSaving the current state of a form Pin
3Dizard27-Jun-06 7:56
3Dizard27-Jun-06 7:56 
AnswerRe: Saving the current state of a form Pin
Josh Smith27-Jun-06 9:21
Josh Smith27-Jun-06 9:21 
AnswerRe: Saving the current state of a form Pin
BoneSoft27-Jun-06 12:36
BoneSoft27-Jun-06 12:36 
QuestionOne more question Pin
3Dizard28-Jun-06 3:49
3Dizard28-Jun-06 3:49 
AnswerRe: Saving the current state of a form Pin
Rojan Gh.28-Jun-06 3:14
professionalRojan Gh.28-Jun-06 3:14 

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.