|
-
Nov 18th, 2023, 11:32 AM
#2
Re: Find proximity of controls to selected control
I would suggest you create a class to hold the information for each room. This class could be put into the .Tag property of the control, or it could contain the control as a member. If all the rooms will be square, then you could have a List(of yourClass) for North, South, East, and West. Then, figuring out what bounded what would be a matter of checking the list for any particular class.
My usual boring signature: Nothing
 
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|