text: using System;
  using System.ComponentModel;
  using System.Collections;
  using System.Diagnostics;
  using System.Text;
  using System.Windows.Forms;
  using System.Drawing;
  
  namespace TestGraphHeatEquation
  {
  	public class PanelOutput : Panel
  	{
  		public PanelOutput()
  		{
  			InitializeComponent();
  		}
  
  		public PanelOutput( IContainer container )
  		{
  			container.Add( this );
  
  			InitializeComponent();
  		}
  
  		/// <summary>
  		/// Required designer variable.
  		/// </summary>
  		private System.ComponentModel.IContainer components = null;
  
  		/// <summary> 
  		/// Clean up any resources being used.
  		/// </summary>
  		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  		protected override void Dispose( bool disposing )
  		{
  			if ( disposing && (components != null) )
  			{
  				components.Dispose();
  			}
  			base.Dispose( disposing );
  		}
  
  		#region Component Designer generated code
  
  		/// <summary>
  		/// Required method for Designer support - do not modify
  		/// the contents of this method with the code editor.
  		/// </summary>
  		private void InitializeComponent()
  		{
  			components = new System.ComponentModel.Container();
  		}
  
  		#endregion
  
  		protected override void OnResize( EventArgs eventargs )
  		{
  			base.OnResize( eventargs );
  			Invalidate();
  		}
  
  		protected override void OnPaintBackground( PaintEventArgs e )
  		{
  //			base.OnPaintBackground( e );	// Don't!
  		}
  	}
  }
  