220 lines
11 KiB
C#
220 lines
11 KiB
C#
namespace Test_DynamicMenuItems
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Erforderliche Designervariable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Verwendete Ressourcen bereinigen.
|
|
/// </summary>
|
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Vom Windows Form-Designer generierter Code
|
|
|
|
/// <summary>
|
|
/// Erforderliche Methode für die Designerunterstützung.
|
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.buttonAddMenuItemsFromXML = new System.Windows.Forms.Button();
|
|
this.groupBoxProgramInfo = new System.Windows.Forms.GroupBox();
|
|
this.labelProgramInfo = new System.Windows.Forms.Label();
|
|
this.groupBoxDLLInfo = new System.Windows.Forms.GroupBox();
|
|
this.labelDLLInfo = new System.Windows.Forms.Label();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.testToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.subtestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.buttonAddmenuItems = new System.Windows.Forms.Button();
|
|
this.buttonAddMenuItem = new System.Windows.Forms.Button();
|
|
this.buttonRemoveItem = new System.Windows.Forms.Button();
|
|
this.buttonRemoveItems = new System.Windows.Forms.Button();
|
|
this.buttonRemoveAllMenuItems = new System.Windows.Forms.Button();
|
|
this.groupBoxProgramInfo.SuspendLayout();
|
|
this.groupBoxDLLInfo.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// buttonAddMenuItemsFromXML
|
|
//
|
|
this.buttonAddMenuItemsFromXML.Location = new System.Drawing.Point(12, 287);
|
|
this.buttonAddMenuItemsFromXML.Name = "buttonAddMenuItemsFromXML";
|
|
this.buttonAddMenuItemsFromXML.Size = new System.Drawing.Size(385, 23);
|
|
this.buttonAddMenuItemsFromXML.TabIndex = 0;
|
|
this.buttonAddMenuItemsFromXML.Text = "Add menu items from a XML file";
|
|
this.buttonAddMenuItemsFromXML.UseVisualStyleBackColor = true;
|
|
this.buttonAddMenuItemsFromXML.Click += new System.EventHandler(this.buttonAddMenuItemsFromXML_Click);
|
|
//
|
|
// groupBoxProgramInfo
|
|
//
|
|
this.groupBoxProgramInfo.Controls.Add(this.labelProgramInfo);
|
|
this.groupBoxProgramInfo.Location = new System.Drawing.Point(12, 372);
|
|
this.groupBoxProgramInfo.Name = "groupBoxProgramInfo";
|
|
this.groupBoxProgramInfo.Size = new System.Drawing.Size(385, 66);
|
|
this.groupBoxProgramInfo.TabIndex = 11;
|
|
this.groupBoxProgramInfo.TabStop = false;
|
|
this.groupBoxProgramInfo.Text = "Programm Information";
|
|
//
|
|
// labelProgramInfo
|
|
//
|
|
this.labelProgramInfo.AutoSize = true;
|
|
this.labelProgramInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.labelProgramInfo.Location = new System.Drawing.Point(7, 20);
|
|
this.labelProgramInfo.Name = "labelProgramInfo";
|
|
this.labelProgramInfo.Size = new System.Drawing.Size(16, 13);
|
|
this.labelProgramInfo.TabIndex = 0;
|
|
this.labelProgramInfo.Text = "...";
|
|
//
|
|
// groupBoxDLLInfo
|
|
//
|
|
this.groupBoxDLLInfo.Controls.Add(this.labelDLLInfo);
|
|
this.groupBoxDLLInfo.Location = new System.Drawing.Point(403, 372);
|
|
this.groupBoxDLLInfo.Name = "groupBoxDLLInfo";
|
|
this.groupBoxDLLInfo.Size = new System.Drawing.Size(385, 66);
|
|
this.groupBoxDLLInfo.TabIndex = 12;
|
|
this.groupBoxDLLInfo.TabStop = false;
|
|
this.groupBoxDLLInfo.Text = "DLL Information";
|
|
//
|
|
// labelDLLInfo
|
|
//
|
|
this.labelDLLInfo.AutoSize = true;
|
|
this.labelDLLInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.labelDLLInfo.Location = new System.Drawing.Point(7, 20);
|
|
this.labelDLLInfo.Name = "labelDLLInfo";
|
|
this.labelDLLInfo.Size = new System.Drawing.Size(16, 13);
|
|
this.labelDLLInfo.TabIndex = 0;
|
|
this.labelDLLInfo.Text = "...";
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.testToolStripMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(800, 24);
|
|
this.menuStrip1.TabIndex = 13;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// testToolStripMenuItem
|
|
//
|
|
this.testToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.subtestToolStripMenuItem});
|
|
this.testToolStripMenuItem.Name = "testToolStripMenuItem";
|
|
this.testToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
|
|
this.testToolStripMenuItem.Text = "Test";
|
|
//
|
|
// subtestToolStripMenuItem
|
|
//
|
|
this.subtestToolStripMenuItem.Name = "subtestToolStripMenuItem";
|
|
this.subtestToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
|
|
this.subtestToolStripMenuItem.Text = "Subtest";
|
|
//
|
|
// buttonAddmenuItems
|
|
//
|
|
this.buttonAddmenuItems.Location = new System.Drawing.Point(12, 258);
|
|
this.buttonAddmenuItems.Name = "buttonAddmenuItems";
|
|
this.buttonAddmenuItems.Size = new System.Drawing.Size(385, 23);
|
|
this.buttonAddmenuItems.TabIndex = 14;
|
|
this.buttonAddmenuItems.Text = "Add menu items from a list";
|
|
this.buttonAddmenuItems.UseVisualStyleBackColor = true;
|
|
this.buttonAddmenuItems.Click += new System.EventHandler(this.buttonAddmenuItems_Click);
|
|
//
|
|
// buttonAddMenuItem
|
|
//
|
|
this.buttonAddMenuItem.Location = new System.Drawing.Point(12, 229);
|
|
this.buttonAddMenuItem.Name = "buttonAddMenuItem";
|
|
this.buttonAddMenuItem.Size = new System.Drawing.Size(385, 23);
|
|
this.buttonAddMenuItem.TabIndex = 15;
|
|
this.buttonAddMenuItem.Text = "Add a single menu item";
|
|
this.buttonAddMenuItem.UseVisualStyleBackColor = true;
|
|
this.buttonAddMenuItem.Click += new System.EventHandler(this.buttonAddMenuItem_Click);
|
|
//
|
|
// buttonRemoveItem
|
|
//
|
|
this.buttonRemoveItem.Location = new System.Drawing.Point(403, 228);
|
|
this.buttonRemoveItem.Name = "buttonRemoveItem";
|
|
this.buttonRemoveItem.Size = new System.Drawing.Size(385, 23);
|
|
this.buttonRemoveItem.TabIndex = 16;
|
|
this.buttonRemoveItem.Text = "Remove a single menu item";
|
|
this.buttonRemoveItem.UseVisualStyleBackColor = true;
|
|
this.buttonRemoveItem.Click += new System.EventHandler(this.buttonRemoveItem_Click);
|
|
//
|
|
// buttonRemoveItems
|
|
//
|
|
this.buttonRemoveItems.Location = new System.Drawing.Point(404, 257);
|
|
this.buttonRemoveItems.Name = "buttonRemoveItems";
|
|
this.buttonRemoveItems.Size = new System.Drawing.Size(384, 23);
|
|
this.buttonRemoveItems.TabIndex = 17;
|
|
this.buttonRemoveItems.Text = "Remove menu items from a list";
|
|
this.buttonRemoveItems.UseVisualStyleBackColor = true;
|
|
this.buttonRemoveItems.Click += new System.EventHandler(this.buttonRemoveItems_Click);
|
|
//
|
|
// buttonRemoveAllMenuItems
|
|
//
|
|
this.buttonRemoveAllMenuItems.Location = new System.Drawing.Point(404, 286);
|
|
this.buttonRemoveAllMenuItems.Name = "buttonRemoveAllMenuItems";
|
|
this.buttonRemoveAllMenuItems.Size = new System.Drawing.Size(384, 23);
|
|
this.buttonRemoveAllMenuItems.TabIndex = 18;
|
|
this.buttonRemoveAllMenuItems.Text = "Remove all menu items";
|
|
this.buttonRemoveAllMenuItems.UseVisualStyleBackColor = true;
|
|
this.buttonRemoveAllMenuItems.Click += new System.EventHandler(this.buttonRemoveAllMenuItems_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
this.Controls.Add(this.buttonRemoveAllMenuItems);
|
|
this.Controls.Add(this.buttonRemoveItems);
|
|
this.Controls.Add(this.buttonRemoveItem);
|
|
this.Controls.Add(this.buttonAddMenuItem);
|
|
this.Controls.Add(this.buttonAddmenuItems);
|
|
this.Controls.Add(this.groupBoxProgramInfo);
|
|
this.Controls.Add(this.groupBoxDLLInfo);
|
|
this.Controls.Add(this.buttonAddMenuItemsFromXML);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.MainMenuStrip = this.menuStrip1;
|
|
this.Name = "Form1";
|
|
this.Text = "Test_InfoBox";
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.groupBoxProgramInfo.ResumeLayout(false);
|
|
this.groupBoxProgramInfo.PerformLayout();
|
|
this.groupBoxDLLInfo.ResumeLayout(false);
|
|
this.groupBoxDLLInfo.PerformLayout();
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button buttonAddMenuItemsFromXML;
|
|
private System.Windows.Forms.GroupBox groupBoxProgramInfo;
|
|
private System.Windows.Forms.Label labelProgramInfo;
|
|
private System.Windows.Forms.GroupBox groupBoxDLLInfo;
|
|
private System.Windows.Forms.Label labelDLLInfo;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem testToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem subtestToolStripMenuItem;
|
|
private System.Windows.Forms.Button buttonAddmenuItems;
|
|
private System.Windows.Forms.Button buttonAddMenuItem;
|
|
private System.Windows.Forms.Button buttonRemoveItem;
|
|
private System.Windows.Forms.Button buttonRemoveItems;
|
|
private System.Windows.Forms.Button buttonRemoveAllMenuItems;
|
|
}
|
|
}
|
|
|