Click here to Skip to main content
15,921,382 members
Home / Discussions / C#
   

C#

 
GeneralRe: JPEG image processing with C# Pin
Heath Stewart16-Jan-05 9:48
protectorHeath Stewart16-Jan-05 9:48 
GeneralRe: JPEG image processing with C# Pin
Christian Graus16-Jan-05 11:35
protectorChristian Graus16-Jan-05 11:35 
GeneralRe: JPEG image processing with C# Pin
memoboy16-Jan-05 10:01
memoboy16-Jan-05 10:01 
GeneralRe: JPEG image processing with C# Pin
Christian Graus16-Jan-05 11:37
protectorChristian Graus16-Jan-05 11:37 
GeneralRe: JPEG image processing with C# Pin
Heath Stewart17-Jan-05 6:05
protectorHeath Stewart17-Jan-05 6:05 
GeneralTransfer Files Pin
Sakkijha16-Jan-05 6:39
Sakkijha16-Jan-05 6:39 
GeneralRe: Transfer Files Pin
Heath Stewart16-Jan-05 9:08
protectorHeath Stewart16-Jan-05 9:08 
GeneralObjects Performing Maths Functions Pin
Wayne Phipps16-Jan-05 4:42
Wayne Phipps16-Jan-05 4:42 
I have a table that I require calculations to be performed against.

To achieve this, I have written several methods for the required functions.

I have no problem with this solution although it does appear limited.

As an example, I have created a form which is passed the DataTable. The form allows the user to choose the required function EG Divide, Mltiple, Add or Subtract and then asks what value/column the function should be performed against, what factor value/column should be used in the calculation and finally, asks where the result should be stored.

Now if the user wants to Divide the value in columnA by the value in columnB and store the result somewhere, it all works fine.

But imagine if the user wants to perform a further calculation on the result, at present the result has to be stored somewhere else and a second pass performed using the desired function.

The only way I have though about solving this problem is to create some kind of math object which can be lnked in a daisy-chain or stored in an array so that multiple calculations can be performed therfore creating an equation.

Has anyone had any experience of doing this or similar?

Any ideas on removing the restrictions of the curent design?


Regards

Wayne Phipps
____________

Time is the greatest teacher... unfortunately, it kills all of its students
LearnVisualStudio.Net

GeneralRe: Objects Performing Maths Functions Pin
Heath Stewart16-Jan-05 6:26
protectorHeath Stewart16-Jan-05 6:26 
GeneralWindows logon Pin
WillemM16-Jan-05 3:03
WillemM16-Jan-05 3:03 
GeneralRe: Windows logon Pin
Heath Stewart16-Jan-05 6:20
protectorHeath Stewart16-Jan-05 6:20 
GeneralRe: Windows logon Pin
WillemM16-Jan-05 6:41
WillemM16-Jan-05 6:41 
GeneralRe: Windows logon Pin
Heath Stewart16-Jan-05 9:00
protectorHeath Stewart16-Jan-05 9:00 
GeneralRe: Windows logon Pin
WillemM16-Jan-05 20:21
WillemM16-Jan-05 20:21 
GeneralMove control at runtime Pin
M4tt16-Jan-05 2:56
M4tt16-Jan-05 2:56 
GeneralRe: Move control at runtime Pin
Mazdak16-Jan-05 6:10
Mazdak16-Jan-05 6:10 
Questionhow to create a (splitter?)bar as in outlook 2003... Pin
just_starting16-Jan-05 2:45
just_starting16-Jan-05 2:45 
AnswerRe: how to create a (splitter?)bar as in outlook 2003... Pin
Heath Stewart16-Jan-05 9:09
protectorHeath Stewart16-Jan-05 9:09 
GeneralRe: how to create a (splitter?)bar as in outlook 2003... Pin
just_starting17-Jan-05 4:45
just_starting17-Jan-05 4:45 
GeneralRe: how to create a (splitter?)bar as in outlook 2003... Pin
Heath Stewart17-Jan-05 5:57
protectorHeath Stewart17-Jan-05 5:57 
AnswerRe: how to create a (splitter?)bar as in outlook 2003... Pin
Craig G Fraser17-Jan-05 23:42
Craig G Fraser17-Jan-05 23:42 
GeneralIP Input Custom Control Pin
Hercules0116-Jan-05 1:26
Hercules0116-Jan-05 1:26 
GeneralRe: IP Input Custom Control Pin
Judah Gabriel Himango16-Jan-05 12:33
sponsorJudah Gabriel Himango16-Jan-05 12:33 
GeneralNetworkStream Pin
alexiev_nikolay15-Jan-05 23:58
alexiev_nikolay15-Jan-05 23:58 
GeneralRe: NetworkStream Pin
Heath Stewart16-Jan-05 9:42
protectorHeath Stewart16-Jan-05 9:42 

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.