Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 21st, 2007, 05:03 AM
Registered User
 
Join Date: Feb 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calculations & Events on Array


I'm storing values in a series of arrays that are updated continously. I'll create a GUI with a series of custom controls to display all the different types of data for each entry.

If I want to run some kind of continuous scan or loop, checking for a certain conditions and then update my display accordingly, what would be the best way to do it? For example, if I've a group of integers in an array with lots of columns and rows, and I want to display something, or send values to a method for further calculation, when ((Row2Col5 - Row4Col10) >= Row15CCol20) (for example), what's the best way to do this?

With an event? A loop? Check the condition when some kind of OnArrayCellChangedEvent or something?

Thanks in advance,

Tom.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime controls & Javascript events ITGeek ASP.NET 1.0 and 1.1 Professional 4 July 2nd, 2007 03:45 PM
DataGrid's Events & Browsers Back Button Mr.PankajKhare General .NET 0 March 16th, 2007 04:09 AM
Help with events & delegates mike_remember ASP.NET 1.0 and 1.1 Professional 1 December 18th, 2006 10:54 AM
Events with VBA & MS Access hoen VB How-To 0 January 19th, 2006 10:18 PM
ListBox & Array Kenny Alligood Access VBA 5 February 16th, 2004 11:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.