Hello. I need to create an object [a button control] that moves around inside a container [Panel]. Its movement zone is therefore limited by the container walls. Language is c# and IDE is visual studio 2k10. I reckon I need a start event, a loop, the coordiantes of the object in a 2D system, the proportions of the object, the proportions of the container, a bunch of ternary operators, and probably a timer component. Im here because I cannot link all of those together, so any push in the right direction would be most motivating! Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.