Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio .NET
Samples
 Windows Forms: Scribble Sample
Visual Basic: Samples
Windows Forms: Scribble Sample

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

  1. Copy all files to your local hard drive by means of the Copy All Files link.
  2. Open the solution Scribble.sln.
  3. On the Build menu, click Build.
  4. 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

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker