Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
GeneralRe: newbie question Pin
bouli22-Jan-04 4:10
bouli22-Jan-04 4:10 
GeneralRe: newbie question Pin
Heath Stewart22-Jan-04 4:35
protectorHeath Stewart22-Jan-04 4:35 
GeneralRe: newbie question Pin
bouli22-Jan-04 4:47
bouli22-Jan-04 4:47 
GeneralRe: newbie question Pin
Heath Stewart22-Jan-04 4:51
protectorHeath Stewart22-Jan-04 4:51 
GeneralRe: newbie question Pin
bouli22-Jan-04 4:54
bouli22-Jan-04 4:54 
GeneralRe: newbie question Pin
Nick Parker22-Jan-04 6:17
protectorNick Parker22-Jan-04 6:17 
GeneralRe: newbie question Pin
Bo Hunter22-Jan-04 12:23
Bo Hunter22-Jan-04 12:23 
GeneralDeferred Calculations Pin
BernardYardley22-Jan-04 3:36
BernardYardley22-Jan-04 3:36 
Has anybody attempted the following? If not, once I've done it, I'll submit the article!
I want to set up a class that holds a collection of arrays and lets you set up calculations on the arrays that are then run as a block. The calling code would then look something like:

ArrayContainer ac = new ArrayContainer(0, 250);
ContainedArray array1 = ac.NewArray();
ContainedArray array2 = ac.NewArray();
ContainedArray array3 = ac.NewArray();
ac.DefineCalculations();
array1.CurrentRow = array2.CurrentRow + array3.LastRow;
array2.CurrentRow = array2.LastRow - 3;
array3.CurrentRow = array1.LastRow * 2;
ac.DoCalculations();

The last line makes it go through all 251 rows of the three arrays iteratively carrying out the calculations.

Many thanks

Bernard
GeneralRe: Deferred Calculations Pin
Heath Stewart22-Jan-04 5:01
protectorHeath Stewart22-Jan-04 5:01 
GeneralRe: Deferred Calculations Pin
BernardYardley22-Jan-04 5:08
BernardYardley22-Jan-04 5:08 
GeneralRe: Deferred Calculations Pin
leppie22-Jan-04 6:21
leppie22-Jan-04 6:21 
General2 questions Pin
bouli22-Jan-04 2:41
bouli22-Jan-04 2:41 
GeneralRe: 2 questions Pin
Sune Trudslev22-Jan-04 4:25
professionalSune Trudslev22-Jan-04 4:25 
GeneralRe: 2 questions Pin
Heath Stewart22-Jan-04 4:54
protectorHeath Stewart22-Jan-04 4:54 
GeneralRe: 2 questions Pin
bouli22-Jan-04 5:32
bouli22-Jan-04 5:32 
GeneralProperly accessing ShDocVw interfaces... Pin
profoundwhispers22-Jan-04 0:57
profoundwhispers22-Jan-04 0:57 
GeneralRe: Properly accessing ShDocVw interfaces... Pin
Heath Stewart22-Jan-04 4:49
protectorHeath Stewart22-Jan-04 4:49 
QuestionHow to display copyright sign (c in small circle,©) in Label control? Pin
god4k21-Jan-04 22:35
god4k21-Jan-04 22:35 
AnswerRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Sune Trudslev22-Jan-04 0:35
professionalSune Trudslev22-Jan-04 0:35 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
leppie22-Jan-04 6:23
leppie22-Jan-04 6:23 
AnswerRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Heath Stewart22-Jan-04 4:40
protectorHeath Stewart22-Jan-04 4:40 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Bo Hunter22-Jan-04 12:31
Bo Hunter22-Jan-04 12:31 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Heath Stewart22-Jan-04 12:44
protectorHeath Stewart22-Jan-04 12:44 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Bo Hunter22-Jan-04 15:57
Bo Hunter22-Jan-04 15:57 
GeneralWinForms DataGrid data display limit Pin
Rakesh Rajan21-Jan-04 18:11
Rakesh Rajan21-Jan-04 18:11 

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.