Exemple #1
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(WinForm));
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.Balloon2 = new AxASTC.AxBalloon();
			this.Balloon1 = new AxASTC.AxBalloon();
			this.ButBalloon3 = new System.Windows.Forms.Button();
			this.ButBalloon2 = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.ButBalloon1 = new System.Windows.Forms.Button();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.Balloon2)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon1)).BeginInit();
			this.SuspendLayout();
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.Balloon2);
			this.groupBox1.Controls.Add(this.Balloon1);
			this.groupBox1.Controls.Add(this.ButBalloon3);
			this.groupBox1.Controls.Add(this.ButBalloon2);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Controls.Add(this.ButBalloon1);
			this.groupBox1.Location = new System.Drawing.Point(8, 8);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(264, 96);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			// 
			// Balloon2
			// 
			this.Balloon2.ContainingControl = this;
			this.Balloon2.Enabled = true;
			this.Balloon2.Location = new System.Drawing.Point(24, 24);
			this.Balloon2.Name = "Balloon2";
			this.Balloon2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Balloon2.OcxState")));
			this.Balloon2.Size = new System.Drawing.Size(27, 27);
			this.Balloon2.TabIndex = 7;
			// 
			// Balloon1
			// 
			this.Balloon1.ContainingControl = this;
			this.Balloon1.Enabled = true;
			this.Balloon1.Location = new System.Drawing.Point(216, 24);
			this.Balloon1.Name = "Balloon1";
			this.Balloon1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Balloon1.OcxState")));
			this.Balloon1.Size = new System.Drawing.Size(27, 27);
			this.Balloon1.TabIndex = 6;
			this.Balloon1.BalloonLeftClick += new System.EventHandler(this.Balloon1_BalloonLeftClick);
			// 
			// ButBalloon3
			// 
			this.ButBalloon3.Location = new System.Drawing.Point(184, 56);
			this.ButBalloon3.Name = "ButBalloon3";
			this.ButBalloon3.Size = new System.Drawing.Size(72, 24);
			this.ButBalloon3.TabIndex = 5;
			this.ButBalloon3.Text = "balloon3";
			this.ButBalloon3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ButBalloon3_MouseMove);
			// 
			// ButBalloon2
			// 
			this.ButBalloon2.Location = new System.Drawing.Point(96, 56);
			this.ButBalloon2.Name = "ButBalloon2";
			this.ButBalloon2.Size = new System.Drawing.Size(72, 24);
			this.ButBalloon2.TabIndex = 4;
			this.ButBalloon2.Text = "balloon2";
			this.ButBalloon2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ButBalloon2_MouseMove);
			// 
			// label1
			// 
			this.label1.ForeColor = System.Drawing.Color.Blue;
			this.label1.Location = new System.Drawing.Point(8, 16);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(248, 32);
			this.label1.TabIndex = 3;
			this.label1.Text = "Move the Cursor to every command button to see the balloon tooltip" +  
				".";
			this.label1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.WinForm_MouseMove);
			// 
			// ButBalloon1
			// 
			this.ButBalloon1.Location = new System.Drawing.Point(8, 56);
			this.ButBalloon1.Name = "ButBalloon1";
			this.ButBalloon1.Size = new System.Drawing.Size(72, 24);
			this.ButBalloon1.TabIndex = 0;
			this.ButBalloon1.Text = "balloon1";
			this.ButBalloon1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ButBalloon1_MouseMove);
			// 
			// WinForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(280, 110);
			this.Controls.Add(this.groupBox1);
			this.Name = "WinForm";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "C#Builder Balloon Tooltip";
			this.TopMost = true;
			this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.WinForm_MouseMove);
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.Balloon2)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon1)).EndInit();
			this.ResumeLayout(false);
		}
Exemple #2
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.ButBalloon3 = new System.Windows.Forms.Button();
			this.ButBalloon2 = new System.Windows.Forms.Button();
			this.ButBalloon1 = new System.Windows.Forms.Button();
			this.Label1 = new System.Windows.Forms.Label();
			this.Balloon1 = new AxASTC.AxBalloon();
			this.Balloon2 = new AxASTC.AxBalloon();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.Balloon1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon2)).BeginInit();
			this.SuspendLayout();
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.Balloon2);
			this.GroupBox1.Controls.Add(this.Balloon1);
			this.GroupBox1.Controls.Add(this.ButBalloon3);
			this.GroupBox1.Controls.Add(this.ButBalloon2);
			this.GroupBox1.Controls.Add(this.ButBalloon1);
			this.GroupBox1.Controls.Add(this.Label1);
			this.GroupBox1.Location = new System.Drawing.Point(10, 8);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(272, 112);
			this.GroupBox1.TabIndex = 1;
			this.GroupBox1.TabStop = false;
			this.GroupBox1.MouseHover += new System.EventHandler(this.GroupBox1_MouseHover);
			// 
			// ButBalloon3
			// 
			this.ButBalloon3.Location = new System.Drawing.Point(192, 56);
			this.ButBalloon3.Name = "ButBalloon3";
			this.ButBalloon3.TabIndex = 7;
			this.ButBalloon3.Text = "Balloon3";
			this.ButBalloon3.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ButBalloon3_MouseMove);
			// 
			// ButBalloon2
			// 
			this.ButBalloon2.Location = new System.Drawing.Point(96, 80);
			this.ButBalloon2.Name = "ButBalloon2";
			this.ButBalloon2.TabIndex = 6;
			this.ButBalloon2.Text = "Balloon2";
			this.ButBalloon2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ButBalloon2_MouseMove);
			// 
			// ButBalloon1
			// 
			this.ButBalloon1.Location = new System.Drawing.Point(8, 56);
			this.ButBalloon1.Name = "ButBalloon1";
			this.ButBalloon1.TabIndex = 5;
			this.ButBalloon1.Text = "Balloon1";
			this.ButBalloon1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ButBalloon1_MouseMove);
			// 
			// Label1
			// 
			this.Label1.ForeColor = System.Drawing.Color.Blue;
			this.Label1.Location = new System.Drawing.Point(8, 8);
			this.Label1.Name = "Label1";
			this.Label1.Size = new System.Drawing.Size(256, 96);
			this.Label1.TabIndex = 0;
			this.Label1.Text = "Move the Cursor to every command button to see the balloon tooltip.";
			this.Label1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Label1_MouseMove);
			// 
			// Balloon1
			// 
			this.Balloon1.ContainingControl = this;
			this.Balloon1.Enabled = true;
			this.Balloon1.Location = new System.Drawing.Point(56, 80);
			this.Balloon1.Name = "Balloon1";
			this.Balloon1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Balloon1.OcxState")));
			this.Balloon1.Size = new System.Drawing.Size(27, 27);
			this.Balloon1.TabIndex = 8;
			this.Balloon1.BalloonLeftClick += new System.EventHandler(this.Balloon1_BalloonLeftClick);
			// 
			// Balloon2
			// 
			this.Balloon2.ContainingControl = this;
			this.Balloon2.Enabled = true;
			this.Balloon2.Location = new System.Drawing.Point(200, 24);
			this.Balloon2.Name = "Balloon2";
			this.Balloon2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Balloon2.OcxState")));
			this.Balloon2.Size = new System.Drawing.Size(27, 27);
			this.Balloon2.TabIndex = 9;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(292, 126);
			this.Controls.Add(this.GroupBox1);
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VC#.Net Balloon Tooltip";
			this.TopMost = true;
			this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseMove);
			this.GroupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.Balloon1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon2)).EndInit();
			this.ResumeLayout(false);

		}
Exemple #3
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.Label3 = new System.Windows.Forms.Label();
			this.ListBox1 = new System.Windows.Forms.ListBox();
			this.Label2 = new System.Windows.Forms.Label();
			this.Label1 = new System.Windows.Forms.Label();
			this.ButLUnSubClass = new System.Windows.Forms.Button();
			this.ButLSubClass = new System.Windows.Forms.Button();
			this.SubClass1 = new AxASTC.AxSubClass();
			this.Balloon1 = new AxASTC.AxBalloon();
			this.Balloon2 = new AxASTC.AxBalloon();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.SubClass1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon2)).BeginInit();
			this.SuspendLayout();
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.Balloon2);
			this.GroupBox1.Controls.Add(this.Balloon1);
			this.GroupBox1.Controls.Add(this.SubClass1);
			this.GroupBox1.Controls.Add(this.Label3);
			this.GroupBox1.Controls.Add(this.ListBox1);
			this.GroupBox1.Controls.Add(this.Label2);
			this.GroupBox1.Controls.Add(this.Label1);
			this.GroupBox1.Controls.Add(this.ButLUnSubClass);
			this.GroupBox1.Controls.Add(this.ButLSubClass);
			this.GroupBox1.ForeColor = System.Drawing.Color.Blue;
			this.GroupBox1.Location = new System.Drawing.Point(8, 8);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(408, 232);
			this.GroupBox1.TabIndex = 1;
			this.GroupBox1.TabStop = false;
			this.GroupBox1.MouseHover += new System.EventHandler(this.GroupBox1_MouseHover);
			// 
			// Label3
			// 
			this.Label3.ForeColor = System.Drawing.Color.Red;
			this.Label3.Location = new System.Drawing.Point(40, 160);
			this.Label3.Name = "Label3";
			this.Label3.Size = new System.Drawing.Size(256, 32);
			this.Label3.TabIndex = 5;
			// 
			// ListBox1
			// 
			this.ListBox1.Items.AddRange(new object[] {
														  "item0",
														  "item1",
														  "item2",
														  "item3"});
			this.ListBox1.Location = new System.Drawing.Point(40, 96);
			this.ListBox1.Name = "ListBox1";
			this.ListBox1.Size = new System.Drawing.Size(320, 56);
			this.ListBox1.TabIndex = 4;
			// 
			// Label2
			// 
			this.Label2.ForeColor = System.Drawing.Color.Red;
			this.Label2.Location = new System.Drawing.Point(40, 64);
			this.Label2.Name = "Label2";
			this.Label2.Size = new System.Drawing.Size(320, 32);
			this.Label2.TabIndex = 3;
			this.Label2.Text = "Move the Cursor between listBox items before and after you click SubClass command" +
				" Button and watch the difference.";
			// 
			// Label1
			// 
			this.Label1.ForeColor = System.Drawing.Color.Blue;
			this.Label1.Location = new System.Drawing.Point(8, 16);
			this.Label1.Name = "Label1";
			this.Label1.Size = new System.Drawing.Size(392, 40);
			this.Label1.TabIndex = 2;
			this.Label1.Text = "ListBox control doesn\'t provides a mousemove event in which you can use for displ" +
				"aying a balloon tooltip for the list Box, but if you we subclass the listbox we " +
				"can assign a Balloon tooltip for every item in the listbox.";
			// 
			// ButLUnSubClass
			// 
			this.ButLUnSubClass.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(64)));
			this.ButLUnSubClass.Location = new System.Drawing.Point(208, 200);
			this.ButLUnSubClass.Name = "ButLUnSubClass";
			this.ButLUnSubClass.TabIndex = 2;
			this.ButLUnSubClass.Text = "UnSubClass";
			this.ButLUnSubClass.Click += new System.EventHandler(this.ButLUnSubClass_Click);
			// 
			// ButLSubClass
			// 
			this.ButLSubClass.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(64)));
			this.ButLSubClass.Location = new System.Drawing.Point(128, 200);
			this.ButLSubClass.Name = "ButLSubClass";
			this.ButLSubClass.TabIndex = 1;
			this.ButLSubClass.Text = "SubClass";
			this.ButLSubClass.Click += new System.EventHandler(this.ButLSubClass_Click);
			// 
			// SubClass1
			// 
			this.SubClass1.ContainingControl = this;
			this.SubClass1.Enabled = true;
			this.SubClass1.Location = new System.Drawing.Point(8, 192);
			this.SubClass1.Name = "SubClass1";
			this.SubClass1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("SubClass1.OcxState")));
			this.SubClass1.Size = new System.Drawing.Size(36, 36);
			this.SubClass1.TabIndex = 6;
			this.SubClass1.MessageReceived += new AxASTC.__SubClass_MessageReceivedEventHandler(this.axSubClass1_MessageReceived);
			// 
			// Balloon1
			// 
			this.Balloon1.ContainingControl = this;
			this.Balloon1.Enabled = true;
			this.Balloon1.Location = new System.Drawing.Point(376, 168);
			this.Balloon1.Name = "Balloon1";
			this.Balloon1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Balloon1.OcxState")));
			this.Balloon1.Size = new System.Drawing.Size(27, 27);
			this.Balloon1.TabIndex = 7;
			// 
			// Balloon2
			// 
			this.Balloon2.ContainingControl = this;
			this.Balloon2.Enabled = true;
			this.Balloon2.Location = new System.Drawing.Point(376, 200);
			this.Balloon2.Name = "Balloon2";
			this.Balloon2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Balloon2.OcxState")));
			this.Balloon2.Size = new System.Drawing.Size(27, 27);
			this.Balloon2.TabIndex = 8;
			this.Balloon2.BalloonLeftClick += new System.EventHandler(this.Balloon2_BalloonLeftClick);
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(424, 246);
			this.Controls.Add(this.GroupBox1);
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VC#.NET SubClass";
			this.GroupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.SubClass1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.Balloon2)).EndInit();
			this.ResumeLayout(false);

		}