Question: Need help creating two dice side by side in visual basic that when the button is clicked it generates random numbers. The form should consist

Need help creating two dice side by side in visual basic that when the button is clicked it generates random numbers. The form should consist of a button and two dice that are created using visual basic instead of a function, my teacher is looking for us to use like e.graphics.fill to create them, and if you would like to you can make the dots inside the rectangle by calling it as an object or you can use whatever works best for you. Please dont use any power packet to create them, use all code in visual basics. The final product when done, you should be able to click on the button and it generates random numbers (as dots just like a regular dice.) At first I was trying to set it up as a case where you would have something like: Case1 CreateGraphics.fillrectangle(with the color has like white or grey and any size and deminsion) (this would create the rectangle of the dice.) CreateGraphics.filleclipse(this I would use to represent the dots) If you could do it as a case that would be great or if you have an easier way that is not using a built in function from visual basic that would be cool as well, I will highly rate! thank you so much.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!