Skip to content
| Marketplace
Sign in
Visual Studio>Templates>VBGraphics
VBGraphics

VBGraphics

Leung Wing-chung

|
35,406 installs
| (0) | Free
QBasic style graphics library for .NET
Download

VBGraphics is a QBasic style graphics and keyboard routines for .NET framework.

VBGraphics provides simple graphics and keyboard handling routines that wraps around WinForms and GDI+. With these routines, beginning programmers can create simple games in the QBasic way.

Example project: Nibbles for VBGraphics

See the documentation for API documentation and more tutorials.

Features

Simple and yet powerful

  • Graphics windows can be resized or maximized, with the content automatically zoomed to fill the whole window.
  • Works correctly on high DPI settings.
  • Events are raised when the user try to close the graphics window, when Windows shut down, and when the GraphicsWindow object is disposed. User closing of the graphics window can be cancelled programatically.

Extensible

  • You can add your favourite polygon routine, Beizer curve routines, or whatever, as extension methods, without modifying VBGraphics source code.
  • The underlying form (wrapped around WinForms) and bitmap of a graphics window can be accessed and manipulated.

Routines available

  • Lines, rectangles and ellipses
  • Text rendering
  • Bitmap image handling
  • Interactive text input
  • Keyboard routines
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft