Click here to Skip to main content
13,090,426 members (53,747 online)
Click here to Skip to main content


111 bookmarked
Posted 14 Sep 2003

Balloon Tips Galore!

, 14 Sep 2003
An article describing the various forms of Balloon Tips
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace BalloonCS
	/// <summary>
	/// Summary description for Form4.
	/// </summary>
	public class Form4 : System.Windows.Forms.Form
		private System.Windows.Forms.ListBox listBox1;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		InPlaceBalloon i = new InPlaceBalloon();
		public Form4()
			// Required for Windows Form Designer support

			// TODO: Add any constructor code after InitializeComponent call
			Rectangle rect = new Rectangle(1,1,listBox1.Width,listBox1.ItemHeight);
				"long long long\n long piece of\nText");


		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
			if( disposing )
				if(components != null)
			base.Dispose( disposing );

		#region Windows Form 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.listBox1 = new System.Windows.Forms.ListBox();
			// listBox1
			this.listBox1.Items.AddRange(new object[] {
														  "The quick brown fox jumped over the rocks",
														  "The slow silver greyhound jumped over the rocks behind him"});
			this.listBox1.Location = new System.Drawing.Point(16, 16);
			this.listBox1.Name = "listBox1";
			this.listBox1.Size = new System.Drawing.Size(168, 199);
			this.listBox1.TabIndex = 0;
			// Form4
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(292, 266);
			this.Name = "Form4";
			this.Text = "Form4";



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.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Ramesh Shrivastav
Web Developer
United States United States
Ramesh is very much into Microsoft technologies, and silently marvels at the power of Windows SDK.
He juggles his time between his family, work and his computer.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170813.1 | Last Updated 15 Sep 2003
Article Copyright 2003 by Ramesh Shrivastav
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid