view FrmNewUnitFromTree.Designer.cs @ 210:694f23814ec2

Re #354: Single-button Add Unit * Make the form translatable * Update FrmArmyTree so it doesn't look out of place (ContextMenuStrip and update the icons) * Add "change selection on right-click" code to solve calculation issues * Hide categories that don't have entries (assume they're not relevant to that race) Also: * Clean up code and replace space indents with tabs
author IBBoard <dev@ibboard.co.uk>
date Sat, 20 Aug 2011 20:58:16 +0100
parents a11faa64c333
children
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.addUnitMenuItem = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
            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);
            this.unitTypeTree.MouseDown += new System.Windows.Forms.MouseEventHandler(this.unitTypeTree_MouseDown);
            // 
            // contextMenu
            // 
            this.contextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.addUnitMenuItem});
            this.contextMenu.Name = "contextMenu";
            this.contextMenu.Size = new System.Drawing.Size(163, 48);
            this.contextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenu_Opening);
            // 
            // addUnitMenuItem
            // 
            this.addUnitMenuItem.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add;
            this.addUnitMenuItem.Name = "addUnitMenuItem";
            this.addUnitMenuItem.Size = new System.Drawing.Size(162, 22);
            this.addUnitMenuItem.Text = "add unit of type";
            this.addUnitMenuItem.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 Windows.Forms.IBBToolStripMenuItem addUnitMenuItem;
    }
}