Cycle through content with just one button. One button is used to move through content stored in an array. The button has "Next" on it until all elements in the array have been shown. Once all the content has been shown, the button then reads "Start Over" and the content says "The End". Using a ...continue reading "Dynamic Button"
Category: Windows Forms Application
Fishing Game
Simple game created with Windows Forms Code to create a simple fishing game that allows a graphic "character" - in this case a boat - to move around an area in a Windows Forms Application. With each movement random events can happen such as catching a fish. Fishing Game Code //ProgrammingIsFun.com using System; using System.Collections.Generic; ...continue reading "Fishing Game"
Visual Studio Tip: Aligning Elements
Elements can be aligned horizontally and/or vertically with Visual Studio's formatting tools. You can access them at the top of the interface, or through the Format menu. In this screenshot you can see how selecting multiple elements (shift + click) highlights the alignment options at the top of the interface.