/// <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.sbMessage  = new EWSoftware.StatusBarText.StatusBarTextProvider(this.components);
     this.label1     = new System.Windows.Forms.Label();
     this.button1    = new System.Windows.Forms.Button();
     this.textBox1   = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(304, 40);
     this.label1.TabIndex = 0;
     this.label1.Text     = "User controls can contain their own status bar text provider as well.";
     //
     // button1
     //
     this.sbMessage.SetStatusBarText(this.button1, "Button in a user control");
     this.button1.Location = new System.Drawing.Point(212, 64);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(24, 23);
     this.button1.TabIndex = 3;
     this.button1.Text     = "...";
     //
     // textBox1
     //
     this.sbMessage.SetStatusBarText(this.textBox1, "Text box in a user control");
     this.textBox1.Location = new System.Drawing.Point(108, 64);
     this.textBox1.Name     = "textBox1";
     this.textBox1.TabIndex = 2;
     this.textBox1.Text     = "";
     //
     // UserControlWithProvider
     //
     this.Controls.Add(this.button1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label1);
     this.Name = "UserControlWithProvider";
     this.Size = new System.Drawing.Size(344, 96);
     this.ResumeLayout(false);
 }
예제 #2
0
 /// <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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.sbMessage                 = new EWSoftware.StatusBarText.StatusBarTextProvider(this.components);
     this.fileToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.loadToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.saveToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.exitToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.windowToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.newToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.listToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.minimizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.maximizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.helpToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.aboutToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem1        = new System.Windows.Forms.ToolStripSeparator();
     this.blankStatusTextOnThisOneToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripButton1         = new System.Windows.Forms.ToolStripButton();
     this.toolStripLabel1          = new System.Windows.Forms.ToolStripLabel();
     this.toolStripSplitButton1    = new System.Windows.Forms.ToolStripSplitButton();
     this.test1ToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.test2ToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.test3ToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
     this.test1ToolStripMenuItem1  = new System.Windows.Forms.ToolStripMenuItem();
     this.test2ToolStripMenuItem1  = new System.Windows.Forms.ToolStripMenuItem();
     this.test3ToolStripMenuItem1  = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripComboBox1       = new System.Windows.Forms.ToolStripComboBox();
     this.toolStripTextBox1        = new System.Windows.Forms.ToolStripTextBox();
     this.tslProgressNote          = new System.Windows.Forms.ToolStripStatusLabel();
     this.tspbProgressBar          = new System.Windows.Forms.ToolStripProgressBar();
     this.menuStrip1            = new System.Windows.Forms.MenuStrip();
     this.statusStrip1          = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     this.tslStatusText         = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStrip1            = new System.Windows.Forms.ToolStrip();
     this.toolStripSeparator2   = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripSeparator1   = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripSeparator3   = new System.Windows.Forms.ToolStripSeparator();
     this.menuStrip1.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.loadToolStripMenuItem,
         this.saveToolStripMenuItem,
         this.exitToolStripMenuItem
     });
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(42, 21);
     this.sbMessage.SetStatusBarText(this.fileToolStripMenuItem, "File related commands");
     this.fileToolStripMenuItem.Text = "&File";
     //
     // loadToolStripMenuItem
     //
     this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
     this.loadToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
     this.sbMessage.SetStatusBarText(this.loadToolStripMenuItem, "Load a file of some sort");
     this.loadToolStripMenuItem.Text   = "&Load";
     this.loadToolStripMenuItem.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // saveToolStripMenuItem
     //
     this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
     this.saveToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
     this.sbMessage.SetStatusBarText(this.saveToolStripMenuItem, "Save a file of some sort");
     this.saveToolStripMenuItem.Text = "&Save";
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
     this.sbMessage.SetStatusBarText(this.exitToolStripMenuItem, "Exit the application");
     this.exitToolStripMenuItem.Text   = "E&xit";
     this.exitToolStripMenuItem.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // windowToolStripMenuItem
     //
     this.windowToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.newToolStripMenuItem,
         this.listToolStripMenuItem,
         this.minimizeToolStripMenuItem,
         this.maximizeToolStripMenuItem
     });
     this.windowToolStripMenuItem.Name = "windowToolStripMenuItem";
     this.windowToolStripMenuItem.Size = new System.Drawing.Size(69, 21);
     this.sbMessage.SetStatusBarText(this.windowToolStripMenuItem, "Window related commands");
     this.windowToolStripMenuItem.Text = "&Window";
     //
     // newToolStripMenuItem
     //
     this.newToolStripMenuItem.Name = "newToolStripMenuItem";
     this.newToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
     this.sbMessage.SetStatusBarText(this.newToolStripMenuItem, "Open a new window");
     this.newToolStripMenuItem.Text = "&New";
     //
     // listToolStripMenuItem
     //
     this.listToolStripMenuItem.Name = "listToolStripMenuItem";
     this.listToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
     this.sbMessage.SetStatusBarText(this.listToolStripMenuItem, "View the window list");
     this.listToolStripMenuItem.Text = "&List";
     //
     // minimizeToolStripMenuItem
     //
     this.minimizeToolStripMenuItem.Name = "minimizeToolStripMenuItem";
     this.minimizeToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
     this.sbMessage.SetStatusBarText(this.minimizeToolStripMenuItem, "Minimize the window");
     this.minimizeToolStripMenuItem.Text = "&Minimize";
     //
     // maximizeToolStripMenuItem
     //
     this.maximizeToolStripMenuItem.Name = "maximizeToolStripMenuItem";
     this.maximizeToolStripMenuItem.Size = new System.Drawing.Size(137, 22);
     this.sbMessage.SetStatusBarText(this.maximizeToolStripMenuItem, "Maximize the window");
     this.maximizeToolStripMenuItem.Text = "M&aximize";
     //
     // helpToolStripMenuItem
     //
     this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.aboutToolStripMenuItem,
         this.toolStripMenuItem1,
         this.blankStatusTextOnThisOneToolStripMenuItem
     });
     this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
     this.sbMessage.SetShowAsBlank(this.helpToolStripMenuItem, true);
     this.helpToolStripMenuItem.Size = new System.Drawing.Size(49, 21);
     this.helpToolStripMenuItem.Text = "&Help";
     //
     // aboutToolStripMenuItem
     //
     this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
     this.aboutToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
     this.sbMessage.SetStatusBarText(this.aboutToolStripMenuItem, "View copyright and contact information");
     this.aboutToolStripMenuItem.Text   = "&About...";
     this.aboutToolStripMenuItem.Click += new System.EventHandler(this.menuItem11_Click);
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(254, 6);
     //
     // blankStatusTextOnThisOneToolStripMenuItem
     //
     this.blankStatusTextOnThisOneToolStripMenuItem.Name = "blankStatusTextOnThisOneToolStripMenuItem";
     this.sbMessage.SetShowAsBlank(this.blankStatusTextOnThisOneToolStripMenuItem, true);
     this.blankStatusTextOnThisOneToolStripMenuItem.Size = new System.Drawing.Size(257, 22);
     this.blankStatusTextOnThisOneToolStripMenuItem.Text = "&Blank status text on this one";
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 23);
     this.sbMessage.SetStatusBarText(this.toolStripButton1, "A toolstrip button");
     this.toolStripButton1.Text = "toolStripButton1";
     //
     // toolStripLabel1
     //
     this.toolStripLabel1.Name = "toolStripLabel1";
     this.toolStripLabel1.Size = new System.Drawing.Size(73, 23);
     this.sbMessage.SetStatusBarText(this.toolStripLabel1, "A toolstrip label");
     this.toolStripLabel1.Text = "Enter Text";
     //
     // toolStripSplitButton1
     //
     this.toolStripSplitButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripSplitButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.test1ToolStripMenuItem,
         this.test2ToolStripMenuItem,
         this.test3ToolStripMenuItem
     });
     this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
     this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripSplitButton1.Name = "toolStripSplitButton1";
     this.toolStripSplitButton1.Size = new System.Drawing.Size(32, 23);
     this.sbMessage.SetStatusBarText(this.toolStripSplitButton1, "A toolstrip split button");
     this.toolStripSplitButton1.Text = "toolStripSplitButton1";
     //
     // test1ToolStripMenuItem
     //
     this.test1ToolStripMenuItem.Name = "test1ToolStripMenuItem";
     this.test1ToolStripMenuItem.Size = new System.Drawing.Size(120, 22);
     this.sbMessage.SetStatusBarText(this.test1ToolStripMenuItem, "Split dropdown button item #1");
     this.test1ToolStripMenuItem.Text = "Test 1";
     //
     // test2ToolStripMenuItem
     //
     this.test2ToolStripMenuItem.Name = "test2ToolStripMenuItem";
     this.test2ToolStripMenuItem.Size = new System.Drawing.Size(120, 22);
     this.sbMessage.SetStatusBarText(this.test2ToolStripMenuItem, "Split dropdown button item #2");
     this.test2ToolStripMenuItem.Text = "Test 2";
     //
     // test3ToolStripMenuItem
     //
     this.test3ToolStripMenuItem.Name = "test3ToolStripMenuItem";
     this.test3ToolStripMenuItem.Size = new System.Drawing.Size(120, 22);
     this.sbMessage.SetStatusBarText(this.test3ToolStripMenuItem, "Split dropdown button item #3");
     this.test3ToolStripMenuItem.Text = "Test 3";
     //
     // toolStripDropDownButton1
     //
     this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.test1ToolStripMenuItem1,
         this.test2ToolStripMenuItem1,
         this.test3ToolStripMenuItem1
     });
     this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image")));
     this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
     this.toolStripDropDownButton1.Size = new System.Drawing.Size(29, 23);
     this.sbMessage.SetStatusBarText(this.toolStripDropDownButton1, "A toolstrip dropdown button");
     this.toolStripDropDownButton1.Text = "toolStripDropDownButton1";
     //
     // test1ToolStripMenuItem1
     //
     this.test1ToolStripMenuItem1.Name = "test1ToolStripMenuItem1";
     this.test1ToolStripMenuItem1.Size = new System.Drawing.Size(120, 22);
     this.sbMessage.SetStatusBarText(this.test1ToolStripMenuItem1, "Dropdown button item #1");
     this.test1ToolStripMenuItem1.Text = "Test 1";
     //
     // test2ToolStripMenuItem1
     //
     this.test2ToolStripMenuItem1.Name = "test2ToolStripMenuItem1";
     this.test2ToolStripMenuItem1.Size = new System.Drawing.Size(120, 22);
     this.sbMessage.SetStatusBarText(this.test2ToolStripMenuItem1, "Dropdown button item #2");
     this.test2ToolStripMenuItem1.Text = "Test 2";
     //
     // test3ToolStripMenuItem1
     //
     this.test3ToolStripMenuItem1.Name = "test3ToolStripMenuItem1";
     this.test3ToolStripMenuItem1.Size = new System.Drawing.Size(120, 22);
     this.sbMessage.SetStatusBarText(this.test3ToolStripMenuItem1, "Dropdown button item #3");
     this.test3ToolStripMenuItem1.Text = "Test 3";
     //
     // toolStripComboBox1
     //
     this.toolStripComboBox1.Items.AddRange(new object[] {
         "Item #1",
         "Item #2",
         "Item #3",
         "Item #4"
     });
     this.toolStripComboBox1.Name = "toolStripComboBox1";
     this.toolStripComboBox1.Size = new System.Drawing.Size(121, 26);
     this.sbMessage.SetStatusBarText(this.toolStripComboBox1, "A toolstrip combo box");
     //
     // toolStripTextBox1
     //
     this.toolStripTextBox1.Name = "toolStripTextBox1";
     this.toolStripTextBox1.Size = new System.Drawing.Size(150, 26);
     this.sbMessage.SetStatusBarText(this.toolStripTextBox1, "A toolstrip text box");
     this.toolStripTextBox1.Text = "Toolstrip text box";
     //
     // tslProgressNote
     //
     this.tslProgressNote.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left;
     this.tslProgressNote.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.tslProgressNote.Margin      = new System.Windows.Forms.Padding(0);
     this.tslProgressNote.Name        = "tslProgressNote";
     this.tslProgressNote.Size        = new System.Drawing.Size(4, 27);
     this.sbMessage.SetStatusBarText(this.tslProgressNote, "Progress message");
     this.tslProgressNote.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tspbProgressBar
     //
     this.tspbProgressBar.Name = "tspbProgressBar";
     this.tspbProgressBar.Size = new System.Drawing.Size(100, 21);
     this.sbMessage.SetStatusBarText(this.tspbProgressBar, "Progress bar");
     //
     // menuStrip1
     //
     this.menuStrip1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.fileToolStripMenuItem,
         this.windowToolStripMenuItem,
         this.helpToolStripMenuItem
     });
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name     = "menuStrip1";
     this.menuStrip1.Size     = new System.Drawing.Size(816, 25);
     this.menuStrip1.TabIndex = 2;
     this.menuStrip1.Text     = "menuStrip1";
     //
     // statusStrip1
     //
     this.statusStrip1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel1,
         this.tslStatusText,
         this.tslProgressNote,
         this.tspbProgressBar
     });
     this.statusStrip1.Location = new System.Drawing.Point(0, 539);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(816, 27);
     this.statusStrip1.TabIndex = 3;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
     this.toolStripStatusLabel1.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.toolStripStatusLabel1.Margin      = new System.Windows.Forms.Padding(0);
     this.toolStripStatusLabel1.Name        = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size        = new System.Drawing.Size(40, 27);
     this.toolStripStatusLabel1.Text        = "Test";
     //
     // tslStatusText
     //
     this.tslStatusText.Name      = "tslStatusText";
     this.tslStatusText.Size      = new System.Drawing.Size(655, 22);
     this.tslStatusText.Spring    = true;
     this.tslStatusText.Text      = "Ready";
     this.tslStatusText.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStrip1
     //
     this.toolStrip1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButton1,
         this.toolStripSeparator2,
         this.toolStripSplitButton1,
         this.toolStripDropDownButton1,
         this.toolStripSeparator1,
         this.toolStripComboBox1,
         this.toolStripSeparator3,
         this.toolStripLabel1,
         this.toolStripTextBox1
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 25);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(816, 26);
     this.toolStrip1.TabIndex = 4;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 26);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 26);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 26);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(816, 566);
     this.Controls.Add(this.toolStrip1);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.menuStrip1);
     this.IsMdiContainer = true;
     this.MainMenuStrip  = this.menuStrip1;
     this.Name           = "Form1";
     this.Text           = "StatusBarTextProvider Demo";
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #3
0
 /// <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.sbMessage       = new EWSoftware.StatusBarText.StatusBarTextProvider(this.components);
     this.menuItem2       = new System.Windows.Forms.MenuItem();
     this.menuItem3       = new System.Windows.Forms.MenuItem();
     this.menuItem4       = new System.Windows.Forms.MenuItem();
     this.menuItem6       = new System.Windows.Forms.MenuItem();
     this.menuItem7       = new System.Windows.Forms.MenuItem();
     this.menuItem8       = new System.Windows.Forms.MenuItem();
     this.menuItem9       = new System.Windows.Forms.MenuItem();
     this.menuItem11      = new System.Windows.Forms.MenuItem();
     this.menuItem13      = new System.Windows.Forms.MenuItem();
     this.menuItem1       = new System.Windows.Forms.MenuItem();
     this.menuItem5       = new System.Windows.Forms.MenuItem();
     this.menuItem10      = new System.Windows.Forms.MenuItem();
     this.menuItem12      = new System.Windows.Forms.MenuItem();
     this.mainMenu1       = new System.Windows.Forms.MainMenu();
     this.sbStatusBar     = new System.Windows.Forms.StatusBar();
     this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
     this.sbTextPanel     = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
     this.gripSpacer      = new System.Windows.Forms.StatusBarPanel();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbTextPanel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gripSpacer)).BeginInit();
     this.SuspendLayout();
     //
     // menuItem2
     //
     this.menuItem2.Index = 0;
     this.sbMessage.SetStatusBarText(this.menuItem2, "Load a file of some sort");
     this.menuItem2.Text   = "&Load";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.sbMessage.SetStatusBarText(this.menuItem3, "Save a file of some sort");
     this.menuItem3.Text = "&Save";
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.sbMessage.SetStatusBarText(this.menuItem4, "Exit the application");
     this.menuItem4.Text   = "&Exit";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 0;
     this.sbMessage.SetStatusBarText(this.menuItem6, "Open a new window");
     this.menuItem6.Text = "&New";
     //
     // menuItem7
     //
     this.menuItem7.Index = 1;
     this.sbMessage.SetStatusBarText(this.menuItem7, "View the window list");
     this.menuItem7.Text = "&List";
     //
     // menuItem8
     //
     this.menuItem8.Index = 2;
     this.sbMessage.SetStatusBarText(this.menuItem8, "Minimize the window");
     this.menuItem8.Text = "&Minimize";
     //
     // menuItem9
     //
     this.menuItem9.Index = 3;
     this.sbMessage.SetStatusBarText(this.menuItem9, "Maximize the window");
     this.menuItem9.Text = "M&aximize";
     //
     // menuItem11
     //
     this.menuItem11.Index = 0;
     this.sbMessage.SetStatusBarText(this.menuItem11, "View copyright and contact information");
     this.menuItem11.Text   = "&About";
     this.menuItem11.Click += new System.EventHandler(this.menuItem11_Click);
     //
     // menuItem13
     //
     this.menuItem13.Index = 2;
     this.sbMessage.SetShowAsBlank(this.menuItem13, true);
     this.menuItem13.Text = "&Blank status text on this one";
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3,
         this.menuItem4
     });
     this.sbMessage.SetStatusBarText(this.menuItem1, "File related commands");
     this.menuItem1.Text = "&File";
     //
     // menuItem5
     //
     this.menuItem5.Index = 1;
     this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem6,
         this.menuItem7,
         this.menuItem8,
         this.menuItem9
     });
     this.sbMessage.SetStatusBarText(this.menuItem5, "Window related commands");
     this.menuItem5.Text = "&Window";
     //
     // menuItem10
     //
     this.menuItem10.Index = 2;
     this.menuItem10.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem11,
         this.menuItem12,
         this.menuItem13
     });
     this.sbMessage.SetShowAsBlank(this.menuItem10, true);
     this.menuItem10.Text = "&Help";
     //
     // menuItem12
     //
     this.menuItem12.Index = 1;
     this.menuItem12.Text  = "-";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem5,
         this.menuItem10
     });
     //
     // sbStatusBar
     //
     this.sbStatusBar.Location = new System.Drawing.Point(0, 513);
     this.sbStatusBar.Name     = "sbStatusBar";
     this.sbStatusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel2,
         this.sbTextPanel,
         this.statusBarPanel1,
         this.gripSpacer
     });
     this.sbStatusBar.ShowPanels = true;
     this.sbStatusBar.Size       = new System.Drawing.Size(816, 22);
     this.sbStatusBar.TabIndex   = 0;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.statusBarPanel2.Text     = "Test";
     this.statusBarPanel2.Width    = 41;
     //
     // sbTextPanel
     //
     this.sbTextPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.sbTextPanel.Text     = "Ready";
     this.sbTextPanel.Width    = 708;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.statusBarPanel1.Text     = "Test";
     this.statusBarPanel1.Width    = 41;
     //
     // gripSpacer
     //
     this.gripSpacer.AutoSize    = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.gripSpacer.BorderStyle = System.Windows.Forms.StatusBarPanelBorderStyle.None;
     this.gripSpacer.Width       = 10;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(816, 535);
     this.Controls.Add(this.sbStatusBar);
     this.IsMdiContainer = true;
     this.Menu           = this.mainMenu1;
     this.Name           = "Form1";
     this.Text           = "StatusBarTextProvider Demo";
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbTextPanel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gripSpacer)).EndInit();
     this.ResumeLayout(false);
 }
예제 #4
0
 /// <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();
     System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("Item 1");
     System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Item 2");
     System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("Item 3");
     System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("Item 4");
     System.Windows.Forms.TreeNode     treeNode1     = new System.Windows.Forms.TreeNode("Node2");
     System.Windows.Forms.TreeNode     treeNode2     = new System.Windows.Forms.TreeNode("Node3");
     System.Windows.Forms.TreeNode     treeNode3     = new System.Windows.Forms.TreeNode("Node4");
     System.Windows.Forms.TreeNode     treeNode4     = new System.Windows.Forms.TreeNode("Node1", new System.Windows.Forms.TreeNode[] {
         treeNode1,
         treeNode2,
         treeNode3
     });
     System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Node5");
     System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Node0", new System.Windows.Forms.TreeNode[] {
         treeNode4,
         treeNode5
     });
     this.sbMessage        = new EWSoftware.StatusBarText.StatusBarTextProvider(this.components);
     this.textBox1         = new System.Windows.Forms.TextBox();
     this.richTextBox1     = new System.Windows.Forms.RichTextBox();
     this.numericUpDown1   = new System.Windows.Forms.NumericUpDown();
     this.lvListView       = new System.Windows.Forms.ListView();
     this.lbListBox        = new System.Windows.Forms.ListBox();
     this.lnkLabel         = new System.Windows.Forms.LinkLabel();
     this.dtpDateTime      = new System.Windows.Forms.DateTimePicker();
     this.dataGrid1        = new System.Windows.Forms.DataGrid();
     this.cboComboBox      = new System.Windows.Forms.ComboBox();
     this.lbCheckedLB      = new System.Windows.Forms.CheckedListBox();
     this.chkTest          = new System.Windows.Forms.CheckBox();
     this.udDomain         = new System.Windows.Forms.DomainUpDown();
     this.btnClose         = new System.Windows.Forms.Button();
     this.propertyGrid1    = new System.Windows.Forms.PropertyGrid();
     this.monthCalendar1   = new System.Windows.Forms.MonthCalendar();
     this.radioButton1     = new System.Windows.Forms.RadioButton();
     this.radioButton2     = new System.Windows.Forms.RadioButton();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.label5           = new System.Windows.Forms.Label();
     this.rb2              = new System.Windows.Forms.RadioButton();
     this.rb1              = new System.Windows.Forms.RadioButton();
     this.trackBar1        = new System.Windows.Forms.TrackBar();
     this.chkUseDialog     = new System.Windows.Forms.CheckBox();
     this.demoUserControl1 = new StatusBarTextTest.DemoUserControl();
     this.panel2           = new System.Windows.Forms.Panel();
     this.textBox2         = new System.Windows.Forms.TextBox();
     this.checkBox1        = new System.Windows.Forms.CheckBox();
     this.label9           = new System.Windows.Forms.Label();
     this.tabPage1         = new System.Windows.Forms.TabPage();
     this.label4           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.label2           = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     this.tabPage2         = new System.Windows.Forms.TabPage();
     this.panel1           = new System.Windows.Forms.Panel();
     this.tabPage3         = new System.Windows.Forms.TabPage();
     this.label7           = new System.Windows.Forms.Label();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.label6           = new System.Windows.Forms.Label();
     this.tvTree           = new System.Windows.Forms.TreeView();
     this.tabPage4         = new System.Windows.Forms.TabPage();
     this.ucDemo           = new StatusBarTextTest.UserControlWithProvider();
     this.label8           = new System.Windows.Forms.Label();
     this.tabDemo          = new System.Windows.Forms.TabControl();
     this.btnProgress      = new System.Windows.Forms.Button();
     this.sbDialog         = new System.Windows.Forms.StatusBar();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
     this.panel2.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.panel1.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.tabPage4.SuspendLayout();
     this.tabDemo.SuspendLayout();
     this.SuspendLayout();
     //
     // sbMessage
     //
     this.sbMessage.InstanceDefaultText  = null;
     this.sbMessage.InstanceDisplayPanel = 0;
     this.sbMessage.InstanceStatusBar    = null;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(248, 304);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(168, 22);
     this.sbMessage.SetStatusBarText(this.textBox1, "A standard text box control");
     this.textBox1.TabIndex = 15;
     this.textBox1.Text     = "Standard text box";
     //
     // richTextBox1
     //
     this.richTextBox1.Location = new System.Drawing.Point(440, 240);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.Size     = new System.Drawing.Size(100, 96);
     this.sbMessage.SetStatusBarText(this.richTextBox1, "A rich text box control");
     this.richTextBox1.TabIndex = 14;
     this.richTextBox1.Text     = "A rich text box";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(144, 56);
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(72, 22);
     this.sbMessage.SetStatusBarText(this.numericUpDown1, "A numeric up/down control");
     this.numericUpDown1.TabIndex = 5;
     //
     // lvListView
     //
     this.lvListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
         listViewItem1,
         listViewItem2,
         listViewItem3,
         listViewItem4
     });
     this.lvListView.Location = new System.Drawing.Point(16, 240);
     this.lvListView.Name     = "lvListView";
     this.lvListView.Size     = new System.Drawing.Size(184, 80);
     this.sbMessage.SetStatusBarText(this.lvListView, "A list view control");
     this.lvListView.TabIndex = 11;
     this.lvListView.UseCompatibleStateImageBehavior = false;
     this.lvListView.View = System.Windows.Forms.View.List;
     //
     // lbListBox
     //
     this.lbListBox.ItemHeight = 16;
     this.lbListBox.Items.AddRange(new object[] {
         "Item 1",
         "Item 2",
         "Item 3",
         "Item 4"
     });
     this.lbListBox.Location = new System.Drawing.Point(24, 96);
     this.lbListBox.Name     = "lbListBox";
     this.lbListBox.Size     = new System.Drawing.Size(128, 84);
     this.sbMessage.SetStatusBarText(this.lbListBox, "A list box control");
     this.lbListBox.TabIndex = 8;
     //
     // lnkLabel
     //
     this.lnkLabel.Location = new System.Drawing.Point(328, 256);
     this.lnkLabel.Name     = "lnkLabel";
     this.lnkLabel.Size     = new System.Drawing.Size(88, 16);
     this.sbMessage.SetStatusBarText(this.lnkLabel, "A link label");
     this.lnkLabel.TabIndex = 13;
     this.lnkLabel.TabStop  = true;
     this.lnkLabel.Text     = "A Link Label";
     //
     // dtpDateTime
     //
     this.dtpDateTime.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtpDateTime.Location = new System.Drawing.Point(376, 56);
     this.dtpDateTime.Name     = "dtpDateTime";
     this.dtpDateTime.Size     = new System.Drawing.Size(104, 22);
     this.sbMessage.SetStatusBarText(this.dtpDateTime, "A date/time picker");
     this.dtpDateTime.TabIndex = 7;
     //
     // dataGrid1
     //
     this.dataGrid1.CaptionText     = "DataGrid";
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(376, 96);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(208, 136);
     this.sbMessage.SetStatusBarText(this.dataGrid1, "A data grid control");
     this.dataGrid1.TabIndex = 10;
     //
     // cboComboBox
     //
     this.cboComboBox.Items.AddRange(new object[] {
         "Item 1",
         "Item 2",
         "Item 3",
         "Item 4"
     });
     this.cboComboBox.Location = new System.Drawing.Point(104, 16);
     this.cboComboBox.Name     = "cboComboBox";
     this.cboComboBox.Size     = new System.Drawing.Size(136, 24);
     this.sbMessage.SetStatusBarText(this.cboComboBox, "A combo box control");
     this.cboComboBox.TabIndex = 1;
     //
     // lbCheckedLB
     //
     this.lbCheckedLB.Items.AddRange(new object[] {
         "Item 1",
         "Item 2",
         "Item 3",
         "Item 4"
     });
     this.lbCheckedLB.Location = new System.Drawing.Point(240, 96);
     this.lbCheckedLB.Name     = "lbCheckedLB";
     this.lbCheckedLB.Size     = new System.Drawing.Size(120, 89);
     this.sbMessage.SetStatusBarText(this.lbCheckedLB, "A checked list box control");
     this.lbCheckedLB.TabIndex = 9;
     //
     // chkTest
     //
     this.chkTest.Location = new System.Drawing.Point(216, 256);
     this.chkTest.Name     = "chkTest";
     this.chkTest.Size     = new System.Drawing.Size(104, 24);
     this.sbMessage.SetStatusBarText(this.chkTest, "A checkbox control");
     this.chkTest.TabIndex = 12;
     this.chkTest.Text     = "Checkbox";
     //
     // udDomain
     //
     this.udDomain.Items.Add("Item 1");
     this.udDomain.Items.Add("Item 2");
     this.udDomain.Items.Add("Item 3");
     this.udDomain.Items.Add("Item 4");
     this.udDomain.Location = new System.Drawing.Point(376, 16);
     this.udDomain.Name     = "udDomain";
     this.udDomain.Size     = new System.Drawing.Size(120, 22);
     this.sbMessage.SetStatusBarText(this.udDomain, "A domain up/down control");
     this.udDomain.TabIndex = 3;
     //
     // btnClose
     //
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.Location     = new System.Drawing.Point(528, 408);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(96, 32);
     this.sbMessage.SetStatusBarText(this.btnClose, "Close this dialog box");
     this.btnClose.TabIndex = 3;
     this.btnClose.Text     = "&Close";
     this.btnClose.Click   += new System.EventHandler(this.btnClose_Click);
     //
     // propertyGrid1
     //
     this.propertyGrid1.HelpVisible    = false;
     this.propertyGrid1.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid1.Location       = new System.Drawing.Point(20, 232);
     this.propertyGrid1.Name           = "propertyGrid1";
     this.propertyGrid1.SelectedObject = this;
     this.propertyGrid1.Size           = new System.Drawing.Size(568, 120);
     this.sbMessage.SetStatusBarText(this.propertyGrid1, "A property grid control");
     this.propertyGrid1.TabIndex       = 1;
     this.propertyGrid1.ToolbarVisible = false;
     //
     // monthCalendar1
     //
     this.monthCalendar1.Location = new System.Drawing.Point(165, 15);
     this.monthCalendar1.Name     = "monthCalendar1";
     this.sbMessage.SetStatusBarText(this.monthCalendar1, "A month calendar control in a panel");
     this.monthCalendar1.TabIndex = 0;
     //
     // radioButton1
     //
     this.radioButton1.Location = new System.Drawing.Point(16, 56);
     this.radioButton1.Name     = "radioButton1";
     this.radioButton1.Size     = new System.Drawing.Size(128, 24);
     this.sbMessage.SetStatusBarText(this.radioButton1, "Radio button 2 status bar text");
     this.radioButton1.TabIndex = 1;
     this.radioButton1.Text     = "Radio Button 2";
     //
     // radioButton2
     //
     this.radioButton2.Location = new System.Drawing.Point(16, 24);
     this.radioButton2.Name     = "radioButton2";
     this.radioButton2.Size     = new System.Drawing.Size(128, 24);
     this.sbMessage.SetStatusBarText(this.radioButton2, "Radio button 1 status bar text");
     this.radioButton2.TabIndex = 0;
     this.radioButton2.TabStop  = true;
     this.radioButton2.Text     = "Radio Button 1";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.rb2);
     this.groupBox1.Controls.Add(this.rb1);
     this.groupBox1.Location = new System.Drawing.Point(336, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(248, 160);
     this.sbMessage.SetStatusBarText(this.groupBox1, "A group box control");
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "A Group Box";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 88);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(224, 64);
     this.label5.TabIndex = 2;
     this.label5.Text     = "The radio buttons in this group box have no status bar text so the group box\'s st" +
                            "atus bar text is shown instead.";
     //
     // rb2
     //
     this.rb2.Location = new System.Drawing.Point(16, 56);
     this.rb2.Name     = "rb2";
     this.rb2.Size     = new System.Drawing.Size(128, 24);
     this.rb2.TabIndex = 1;
     this.rb2.Text     = "Radio Button 2";
     //
     // rb1
     //
     this.rb1.Location = new System.Drawing.Point(16, 24);
     this.rb1.Name     = "rb1";
     this.rb1.Size     = new System.Drawing.Size(128, 24);
     this.rb1.TabIndex = 0;
     this.rb1.TabStop  = true;
     this.rb1.Text     = "Radio Button 1";
     //
     // trackBar1
     //
     this.trackBar1.Location = new System.Drawing.Point(52, 16);
     this.trackBar1.Name     = "trackBar1";
     this.trackBar1.Size     = new System.Drawing.Size(256, 53);
     this.sbMessage.SetStatusBarText(this.trackBar1, "A track bar control");
     this.trackBar1.TabIndex = 0;
     //
     // chkUseDialog
     //
     this.chkUseDialog.Location = new System.Drawing.Point(32, 408);
     this.chkUseDialog.Name     = "chkUseDialog";
     this.chkUseDialog.Size     = new System.Drawing.Size(192, 24);
     this.sbMessage.SetStatusBarText(this.chkUseDialog, "Switch between the application status bar and the dialog\'s status bar");
     this.chkUseDialog.TabIndex        = 1;
     this.chkUseDialog.Text            = "&Use the dialog\'s status bar";
     this.chkUseDialog.CheckedChanged += new System.EventHandler(this.chkUseDialog_CheckedChanged);
     //
     // demoUserControl1
     //
     this.demoUserControl1.Location = new System.Drawing.Point(32, 200);
     this.demoUserControl1.Name     = "demoUserControl1";
     this.demoUserControl1.Size     = new System.Drawing.Size(136, 32);
     this.sbMessage.SetStatusBarText(this.demoUserControl1, "A custom user control");
     this.demoUserControl1.TabIndex = 2;
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.textBox2);
     this.panel2.Controls.Add(this.checkBox1);
     this.panel2.Controls.Add(this.label9);
     this.panel2.Location = new System.Drawing.Point(24, 16);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(424, 120);
     this.sbMessage.SetStatusBarText(this.panel2, "A panel control");
     this.panel2.TabIndex = 0;
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(184, 72);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(88, 22);
     this.textBox2.TabIndex = 2;
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(24, 72);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(104, 24);
     this.checkBox1.TabIndex = 1;
     this.checkBox1.Text     = "checkBox1";
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(16, 16);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(392, 40);
     this.label9.TabIndex = 0;
     this.label9.Text     = "Like the group box, if controls in a panel do not have status bar text, the text " +
                            "for the panel is displayed.";
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.richTextBox1);
     this.tabPage1.Controls.Add(this.numericUpDown1);
     this.tabPage1.Controls.Add(this.label4);
     this.tabPage1.Controls.Add(this.lvListView);
     this.tabPage1.Controls.Add(this.lbListBox);
     this.tabPage1.Controls.Add(this.lnkLabel);
     this.tabPage1.Controls.Add(this.label3);
     this.tabPage1.Controls.Add(this.dtpDateTime);
     this.tabPage1.Controls.Add(this.dataGrid1);
     this.tabPage1.Controls.Add(this.label2);
     this.tabPage1.Controls.Add(this.cboComboBox);
     this.tabPage1.Controls.Add(this.lbCheckedLB);
     this.tabPage1.Controls.Add(this.chkTest);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Controls.Add(this.udDomain);
     this.tabPage1.Location = new System.Drawing.Point(4, 25);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(608, 363);
     this.sbMessage.SetStatusBarText(this.tabPage1, "Tab page #1");
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Tab 1";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(16, 56);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(120, 22);
     this.label4.TabIndex  = 4;
     this.label4.Text      = "Numeric Up/Down";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(248, 56);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(120, 22);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "Date/Time Picker";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 16);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 22);
     this.label2.TabIndex  = 0;
     this.label2.Text      = "Combo Box";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(248, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(120, 22);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Domain Up/Down";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.propertyGrid1);
     this.tabPage2.Controls.Add(this.panel1);
     this.tabPage2.Location = new System.Drawing.Point(4, 25);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(608, 363);
     this.sbMessage.SetStatusBarText(this.tabPage2, "Tab page #2");
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Tab 2";
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.monthCalendar1);
     this.panel1.Location = new System.Drawing.Point(28, 8);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(552, 216);
     this.panel1.TabIndex = 0;
     //
     // tabPage3
     //
     this.tabPage3.Controls.Add(this.label7);
     this.tabPage3.Controls.Add(this.groupBox2);
     this.tabPage3.Controls.Add(this.groupBox1);
     this.tabPage3.Controls.Add(this.tvTree);
     this.tabPage3.Controls.Add(this.trackBar1);
     this.tabPage3.Location = new System.Drawing.Point(4, 25);
     this.tabPage3.Name     = "tabPage3";
     this.tabPage3.Size     = new System.Drawing.Size(608, 363);
     this.sbMessage.SetStatusBarText(this.tabPage3, "Tab page #3");
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text     = "Tab 3";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(52, 80);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(264, 56);
     this.label7.TabIndex = 1;
     this.label7.Text     = "The tree view uses an AfterSelect event to update its status bar text as each nod" +
                            "e is selected.";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.radioButton1);
     this.groupBox2.Controls.Add(this.radioButton2);
     this.groupBox2.Location = new System.Drawing.Point(336, 192);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(248, 152);
     this.groupBox2.TabIndex = 4;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "A Group Box";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(16, 88);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(224, 40);
     this.label6.TabIndex = 2;
     this.label6.Text     = "The radio buttons in this group box do have status bar text.";
     //
     // tvTree
     //
     this.tvTree.Location = new System.Drawing.Point(52, 136);
     this.tvTree.Name     = "tvTree";
     treeNode1.Name       = "";
     treeNode1.Text       = "Node2";
     treeNode2.Name       = "";
     treeNode2.Text       = "Node3";
     treeNode3.Name       = "";
     treeNode3.Text       = "Node4";
     treeNode4.Name       = "";
     treeNode4.Text       = "Node1";
     treeNode5.Name       = "";
     treeNode5.Text       = "Node5";
     treeNode6.Name       = "";
     treeNode6.Text       = "Node0";
     this.tvTree.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode6
     });
     this.tvTree.Size         = new System.Drawing.Size(248, 208);
     this.tvTree.TabIndex     = 2;
     this.tvTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvTree_AfterSelect);
     //
     // tabPage4
     //
     this.tabPage4.Controls.Add(this.ucDemo);
     this.tabPage4.Controls.Add(this.panel2);
     this.tabPage4.Controls.Add(this.label8);
     this.tabPage4.Controls.Add(this.demoUserControl1);
     this.tabPage4.Location = new System.Drawing.Point(4, 25);
     this.tabPage4.Name     = "tabPage4";
     this.tabPage4.Size     = new System.Drawing.Size(608, 363);
     this.sbMessage.SetStatusBarText(this.tabPage4, "Tab page #4");
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text     = "Tab 4";
     //
     // ucDemo
     //
     this.ucDemo.Location = new System.Drawing.Point(24, 248);
     this.ucDemo.Name     = "ucDemo";
     this.ucDemo.Size     = new System.Drawing.Size(336, 96);
     this.ucDemo.TabIndex = 3;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(32, 152);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(360, 40);
     this.label8.TabIndex = 1;
     this.label8.Text     = "This is a custom user control with status bar text defined by this form";
     //
     // tabDemo
     //
     this.tabDemo.Controls.Add(this.tabPage1);
     this.tabDemo.Controls.Add(this.tabPage2);
     this.tabDemo.Controls.Add(this.tabPage3);
     this.tabDemo.Controls.Add(this.tabPage4);
     this.tabDemo.Location      = new System.Drawing.Point(8, 8);
     this.tabDemo.Name          = "tabDemo";
     this.tabDemo.SelectedIndex = 0;
     this.sbMessage.SetShowAsBlank(this.tabDemo, true);
     this.tabDemo.Size     = new System.Drawing.Size(616, 392);
     this.tabDemo.TabIndex = 0;
     //
     // btnProgress
     //
     this.btnProgress.Location = new System.Drawing.Point(322, 408);
     this.btnProgress.Name     = "btnProgress";
     this.btnProgress.Size     = new System.Drawing.Size(96, 32);
     this.sbMessage.SetStatusBarText(this.btnProgress, "Utilize the status strip progress bar");
     this.btnProgress.TabIndex = 2;
     this.btnProgress.Text     = "&Progress";
     this.btnProgress.Click   += new System.EventHandler(this.btnProgress_Click);
     //
     // sbDialog
     //
     this.sbDialog.Location   = new System.Drawing.Point(0, 456);
     this.sbDialog.Name       = "sbDialog";
     this.sbDialog.Size       = new System.Drawing.Size(632, 22);
     this.sbDialog.SizingGrip = false;
     this.sbDialog.TabIndex   = 4;
     this.sbDialog.Text       = "Dialog status bar";
     //
     // Form2
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.CancelButton      = this.btnClose;
     this.ClientSize        = new System.Drawing.Size(632, 478);
     this.Controls.Add(this.btnProgress);
     this.Controls.Add(this.chkUseDialog);
     this.Controls.Add(this.sbDialog);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.tabDemo);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form2";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Control Demo";
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.tabPage3.ResumeLayout(false);
     this.tabPage3.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.tabPage4.ResumeLayout(false);
     this.tabDemo.ResumeLayout(false);
     this.ResumeLayout(false);
 }