Click here to Skip to main content
15,881,424 members
Articles / Multimedia / GDI+

Customizable Tree Control with Animation Support

Rate me:
Please Sign up or sign in to vote.
4.72/5 (17 votes)
8 Apr 2008CPOL4 min read 107.6K   23   115  
A tree control implementation, allowing complete customization and animation support
/////////////////////////////////////////////////////////////////////////////
//
// (c) 2007 BinaryComponents Ltd.  All Rights Reserved.
//
// http://www.binarycomponents.com/
//
/////////////////////////////////////////////////////////////////////////////

namespace BinaryComponents.WinFormsGloss.Controls
{
	partial class CustomTabControl
	{
		/// <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) )
			{
				if( _updateTimer != null )
				{
					_updateTimer.Tick += new System.EventHandler( this._updateTimer_Tick );
					_updateTimer.Dispose();
					_updateTimer = 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()
		{
			this.components = new System.ComponentModel.Container();
			this._contentsPanel = new System.Windows.Forms.Panel();
			this._updateTimer = new System.Windows.Forms.Timer( this.components );
			this.SuspendLayout();
			// 
			// _contentsPanel
			// 
			this._contentsPanel.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
									| System.Windows.Forms.AnchorStyles.Left)
									| System.Windows.Forms.AnchorStyles.Right)));
			this._contentsPanel.Location = new System.Drawing.Point( 123, 93 );
			this._contentsPanel.Name = "_contentsPanel";
			this._contentsPanel.Size = new System.Drawing.Size( 350, 334 );
			this._contentsPanel.TabIndex = 0;
			// 
			// _updateTimer
			// 
			this._updateTimer.Tick += new System.EventHandler( this._updateTimer_Tick );
			// 
			// CustomTabControl
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F );
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add( this._contentsPanel );
			this.Name = "CustomTabControl";
			this.Size = new System.Drawing.Size( 602, 494 );
			this.ResumeLayout( false );

		}

		#endregion

		private System.Windows.Forms.Panel _contentsPanel;
		private System.Windows.Forms.Timer _updateTimer;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United Kingdom United Kingdom
I'm currently working for a small start-up company, BinaryComponents Ltd, producing the FeedGhost RSS reader.

FeedGhost RSS Reader:
http://www.feedghost.com

Bespoke Software Development
http://www.binarycomponents.com

Comments and Discussions