Archive Browser
Download ListBoxEmptyTextDemo.zip version 1.0.0.1, last updated 29/04/2018 (9.06 KB)
Download- md5: 949e7d4dad1bbc0fad42a320a4f65070
- sha1: 9eead82b3ccca62958e2bd18940a4a8309fa1f91
- sha256: 9a1671b7eb45246c74bc1234f74885d520fc37d148ff2238889a74ad91e4e000
namespace ListBoxEmptyTextDemo
{
partial class MainForm
{
/// <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))
{
components.Dispose();
}
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.label1 = new System.Windows.Forms.Label();
this.emptyTextTextBox = new System.Windows.Forms.TextBox();
this.addItemButton = new System.Windows.Forms.Button();
this.removeItemButton = new System.Windows.Forms.Button();
this.clearItemsButton = new System.Windows.Forms.Button();
this.demoListBox = new ListBoxEmptyTextDemo.ListBox();
this.SuspendLayout();
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(295, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(60, 13);
this.label1.TabIndex = 0;
this.label1.Text = "&EmptyText:";
//
// emptyTextTextBox
//
this.emptyTextTextBox.AcceptsReturn = true;
this.emptyTextTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.emptyTextTextBox.Location = new System.Drawing.Point(298, 28);
this.emptyTextTextBox.Multiline = true;
this.emptyTextTextBox.Name = "emptyTextTextBox";
this.emptyTextTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.emptyTextTextBox.Size = new System.Drawing.Size(314, 94);
this.emptyTextTextBox.TabIndex = 1;
this.emptyTextTextBox.TextChanged += new System.EventHandler(this.emptyTextTextBox_TextChanged);
//
// addItemButton
//
this.addItemButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.addItemButton.Location = new System.Drawing.Point(298, 128);
this.addItemButton.Name = "addItemButton";
this.addItemButton.Size = new System.Drawing.Size(87, 23);
this.addItemButton.TabIndex = 2;
this.addItemButton.Text = "&Add Item";
this.addItemButton.UseVisualStyleBackColor = true;
this.addItemButton.Click += new System.EventHandler(this.addItemButton_Click);
//
// removeItemButton
//
this.removeItemButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.removeItemButton.Location = new System.Drawing.Point(391, 128);
this.removeItemButton.Name = "removeItemButton";
this.removeItemButton.Size = new System.Drawing.Size(87, 23);
this.removeItemButton.TabIndex = 3;
this.removeItemButton.Text = "&Remove Item";
this.removeItemButton.UseVisualStyleBackColor = true;
this.removeItemButton.Click += new System.EventHandler(this.removeItemButton_Click);
//
// clearItemsButton
//
this.clearItemsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.clearItemsButton.Location = new System.Drawing.Point(484, 128);
this.clearItemsButton.Name = "clearItemsButton";
this.clearItemsButton.Size = new System.Drawing.Size(87, 23);
this.clearItemsButton.TabIndex = 4;
this.clearItemsButton.Text = "Remove A&ll";
this.clearItemsButton.UseVisualStyleBackColor = true;
this.clearItemsButton.Click += new System.EventHandler(this.clearItemsButton_Click);
//
// demoListBox
//
this.demoListBox.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.demoListBox.EmptyText = "There are no items available.";
this.demoListBox.FormattingEnabled = true;
this.demoListBox.IntegralHeight = false;
this.demoListBox.Location = new System.Drawing.Point(12, 12);
this.demoListBox.Name = "demoListBox";
this.demoListBox.Size = new System.Drawing.Size(277, 257);
this.demoListBox.TabIndex = 5;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(624, 281);
this.Controls.Add(this.clearItemsButton);
this.Controls.Add(this.removeItemButton);
this.Controls.Add(this.addItemButton);
this.Controls.Add(this.emptyTextTextBox);
this.Controls.Add(this.label1);
this.Controls.Add(this.demoListBox);
this.Name = "MainForm";
this.Text = "www.cyotek.com displaying text in an empty ListBox demonstration";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private ListBoxEmptyTextDemo.ListBox demoListBox;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox emptyTextTextBox;
private System.Windows.Forms.Button addItemButton;
private System.Windows.Forms.Button removeItemButton;
private System.Windows.Forms.Button clearItemsButton;
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate