System.Windows.Forms.PictureBox.PictureBox C# (CSharp) Method

PictureBox() public method

public PictureBox ( ) : System
return System
		public PictureBox ()
		{
			//recalc = true;
			no_update = 0;

			SetStyle (ControlStyles.OptimizedDoubleBuffer, true);
			SetStyle (ControlStyles.Opaque, false);
			SetStyle (ControlStyles.Selectable, false);
			SetStyle (ControlStyles.SupportsTransparentBackColor, true);
			HandleCreated += new EventHandler(PictureBox_HandleCreated);
			//initial_image = ResourceImageLoader.Get ("image-x-generic.png");
			//error_image = ResourceImageLoader.Get ("image-missing.png");
		}
		#endregion	// Public Constructor