Microsoft
Software
Hardware
Network
Question : Randomize distribution of images
I have a bunch of images I am displaying on a web page.
I want to randomize the padding so the the images are not all in a straight line. Kinda "NASCAR" style where the placement is kinda random and disorgainzed.
I'll try to find an example of what I have in mind!
Answer : Randomize distribution of images
Use a random function and apply to all images and the padding property
for all images, do:
Random random = new Random();
int randomNumber = random.Next(min, max);
apply randomNumber on current image padding property
Note: It is a C# solution
Random Solutions
MS Project and SQL Server
Excluding duplicates from a query in t-sql to use in MS Visual Studio
Creating a directory path string based on choices in a form
Change GUID in VStudio C++ OCX
ASP.NET AJAX PasswordStrength Extender problem in Wizard Control
could not load VFD.VXD
Input Boxes
My asp.net button is still not enabled even when I set it to enabled
Problems printing non-standard envelope size to HP with feeder.
New issue with report run counter not incrementing by 1