Using Using Using Using Using Using Using Using Namespace Public Partial Class
Using Using Using Using Using Using Using Using Namespace Public Partial Class
persisting Graphics.
//
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Persisting_Graphics
{
public partial class fclsMain : Form
{
// Bitmap object to draw to.
private Bitmap m_objDrawingSurface;
public fclsMain()
{
InitializeComponent();
}
// Free up resources
objGraphics.Dispose();
}
// Free resources
objGraphics.Dispose();
}
// Clean up
objGraphics.Dispose();