p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   General .NET (http://p2p.wrox.com/forumdisplay.php?f=122)
-   -   Movie Ticketing System (http://p2p.wrox.com/showthread.php?t=26166)

Machix February 27th, 2005 10:54 PM

Movie Ticketing System
 
Hi all,

I'm new to this forum. I'm creating a mobile application about movie ticketing using Visual Studio.NET 2003.

I am having problems trying to display images of the seats available in a cinema hall. How do I write a loop whereby i can display 10 images in 10 rows (100 seats altogether)?

Can someone point me in the right direction?

Thanks a million,
Swee

Out of my mind, be back in 5 mins.

gundulf March 6th, 2005 06:57 PM

Try:
Dim a,b as Integer
For a=1 to 10
   For b=1 to 10
      DrawSeat
   Next
Next.

That will execute 10 times each in two loops. How you actually 'draw' the seat I'll leave to you!



All times are GMT -4. The time now is 08:49 PM.

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