The Scribble sample shows how to develop a Windows Forms MDI application using Visual Basic and the .NET Framework classes. Scribble is a small drawing application that lets you draw free-hand drawings using the mouse and save the images in a file.
Note To install and run this sample, you must be a member of your computer's Debugger Users group. If installing this application by means of a remote session, you must be a member of the Administrators group.
To run this sample
- Copy all files to your local hard drive by means of the Copy All Files link.
- Open the solution Scribble.sln.
- On the Build menu, click Build.
- On the Debug menu, click Start Without Debugging.
When you run the sample, you get a drawing surface and the following menus:
- File menu for input and output operations.
- Edit menu to cut, copy, and paste.
- Pen menu to select the pen thickness.
- View menu to show or hide the toolbar and the status bar.
- Window menu to create, tile, or cascade windows.
- Help menu to display the help topics and the About Scribble text box.
In addition to the menu options, the user interface includes a toolbar with buttons to duplicate the menu commands: New, Open, Save, Print Preview, Print, and Help.
See Also
Visual Basic Sample Applications | Visual Basic Walkthroughs | Multiple-Document Interface (MDI) Applications | Scribble Sample: Visual C# MDI Drawing Application