Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
view FrmNewUnitFromTree.Designer.cs @ 249:a11faa64c333
Re #354: Single-button Add Unit
* Add right-click menu (doesn't work yet because of position maths)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 20 Aug 2011 17:05:45 +0100 |
parents | 19a88383dfa7 |
children | 694f23814ec2 |
line wrap: on
line source
namespace IBBoard.WarFoundry.GUI.WinForms { partial class FrmNewUnitFromTree { /// <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.components = new System.ComponentModel.Container(); this.unitTypeTree = new System.Windows.Forms.TreeView(); this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenu.SuspendLayout(); this.SuspendLayout(); // // unitTypeTree // this.unitTypeTree.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.unitTypeTree.ContextMenuStrip = this.contextMenu; this.unitTypeTree.Location = new System.Drawing.Point(0, 0); this.unitTypeTree.Name = "unitTypeTree"; this.unitTypeTree.Size = new System.Drawing.Size(199, 287); this.unitTypeTree.TabIndex = 0; this.unitTypeTree.DoubleClick += new System.EventHandler(this.unitTypeTree_DoubleClick); // // contextMenu // this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1}); this.contextMenu.Name = "contextMenu"; this.contextMenu.Size = new System.Drawing.Size(154, 26); // // toolStripMenuItem1 // this.toolStripMenuItem1.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add; this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(153, 22); this.toolStripMenuItem1.Text = "Add Unit Type"; this.toolStripMenuItem1.Click += new System.EventHandler(this.AddUnitClicked); // // FrmNewUnitFromTree // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(199, 286); this.ControlBox = false; this.Controls.Add(this.unitTypeTree); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "FrmNewUnitFromTree"; this.Text = "Available Unit Types"; this.contextMenu.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.TreeView unitTypeTree; private System.Windows.Forms.ContextMenuStrip contextMenu; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; } }