view FrmArmyTree.Designer.cs @ 246:b57a7cf844f8

Fixes #426: Changing unit size doesn't trigger all validation * Hook validation in to army composition changed event * Make sure we're ignoring old armies and listening to the new one
author IBBoard <dev@ibboard.co.uk>
date Sat, 01 Sep 2012 16:12:48 +0100
parents 2c3474d652e1
children
line wrap: on
line source

namespace IBBoard.WarFoundry.GUI.WinForms
{
	partial class FrmArmyTree
	{
		/// <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.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
			this.treeView = new System.Windows.Forms.TreeView();
			this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
			this.miEditArmy = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
			this.miEditUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
			this.miDeleteUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
			this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
			this.toolStrip1 = new System.Windows.Forms.ToolStrip();
			this.bttnAdd = new IBBoard.Windows.Forms.IBBToolStripButton();
			this.bttnEdit = new IBBoard.Windows.Forms.IBBToolStripButton();
			this.bttnDelete = new IBBoard.Windows.Forms.IBBToolStripButton();
			this.toolStripContainer1.ContentPanel.SuspendLayout();
			this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
			this.toolStripContainer1.SuspendLayout();
			this.contextMenuStrip.SuspendLayout();
			this.toolStrip1.SuspendLayout();
			this.SuspendLayout();
			// 
			// toolStripContainer1
			// 
			this.toolStripContainer1.BottomToolStripPanelVisible = false;
			// 
			// toolStripContainer1.ContentPanel
			// 
			this.toolStripContainer1.ContentPanel.Controls.Add(this.treeView);
			this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(232, 241);
			this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.toolStripContainer1.LeftToolStripPanelVisible = false;
			this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
			this.toolStripContainer1.Name = "toolStripContainer1";
			this.toolStripContainer1.RightToolStripPanelVisible = false;
			this.toolStripContainer1.Size = new System.Drawing.Size(232, 266);
			this.toolStripContainer1.TabIndex = 0;
			this.toolStripContainer1.Text = "toolStripContainer1";
			// 
			// toolStripContainer1.TopToolStripPanel
			// 
			this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1);
			// 
			// treeView
			// 
			this.treeView.ContextMenuStrip = this.contextMenuStrip;
			this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
			this.treeView.Location = new System.Drawing.Point(0, 0);
			this.treeView.Name = "treeView";
			this.treeView.Size = new System.Drawing.Size(232, 241);
			this.treeView.TabIndex = 0;
			this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect);
			this.treeView.DoubleClick += new System.EventHandler(this.treeView_DoubleClick);
			this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown);
			// 
			// contextMenuStrip
			// 
			this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miAddUnit,
            this.miEditArmy,
            this.miEditUnit,
            this.miDeleteUnit});
			this.contextMenuStrip.Name = "contextMenuStrip1";
			this.contextMenuStrip.Size = new System.Drawing.Size(153, 114);
			this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening);
			// 
			// miEditArmy
			// 
			this.miEditArmy.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit;
			this.miEditArmy.Name = "miEditArmy";
			this.miEditArmy.Size = new System.Drawing.Size(152, 22);
			this.miEditArmy.Text = "edit army";
			this.miEditArmy.Click += new System.EventHandler(this.miEditArmy_Click);
			// 
			// miEditUnit
			// 
			this.miEditUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit;
			this.miEditUnit.Name = "miEditUnit";
			this.miEditUnit.Size = new System.Drawing.Size(152, 22);
			this.miEditUnit.Text = "edit unit";
			this.miEditUnit.Click += new System.EventHandler(this.miEdit_Click);
			// 
			// miDeleteUnit
			// 
			this.miDeleteUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete;
			this.miDeleteUnit.Name = "miDeleteUnit";
			this.miDeleteUnit.Size = new System.Drawing.Size(152, 22);
			this.miDeleteUnit.Text = "delete unit";
			this.miDeleteUnit.Click += new System.EventHandler(this.miDelete_Click);
			// 
			// miAddUnit
			// 
			this.miAddUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add;
			this.miAddUnit.Name = "miAddUnit";
			this.miAddUnit.Size = new System.Drawing.Size(152, 22);
			this.miAddUnit.Text = "add unit";
			this.miAddUnit.Click += new System.EventHandler(this.miAddUnit_Click);
			// 
			// toolStrip1
			// 
			this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
			this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.bttnAdd,
            this.bttnEdit,
            this.bttnDelete});
			this.toolStrip1.Location = new System.Drawing.Point(3, 0);
			this.toolStrip1.Name = "toolStrip1";
			this.toolStrip1.Size = new System.Drawing.Size(81, 25);
			this.toolStrip1.TabIndex = 0;
			// 
			// bttnAdd
			// 
			this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this.bttnAdd.Enabled = false;
			this.bttnAdd.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add;
			this.bttnAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
			this.bttnAdd.Name = "bttnAdd";
			this.bttnAdd.Size = new System.Drawing.Size(23, 22);
			this.bttnAdd.Text = "add unit";
			this.bttnAdd.Click += new System.EventHandler(this.bttnAdd_Click);
			// 
			// bttnEdit
			// 
			this.bttnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this.bttnEdit.Enabled = false;
			this.bttnEdit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit;
			this.bttnEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
			this.bttnEdit.Name = "bttnEdit";
			this.bttnEdit.Size = new System.Drawing.Size(23, 22);
			this.bttnEdit.Text = "edit";
			this.bttnEdit.Click += new System.EventHandler(this.bttnEdit_Click);
			// 
			// bttnDelete
			// 
			this.bttnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
			this.bttnDelete.Enabled = false;
			this.bttnDelete.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete;
			this.bttnDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
			this.bttnDelete.Name = "bttnDelete";
			this.bttnDelete.Size = new System.Drawing.Size(23, 22);
			this.bttnDelete.Text = "delete";
			this.bttnDelete.Click += new System.EventHandler(this.bttnDelete_Click);
			// 
			// FrmArmyTree
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(232, 266);
			this.ControlBox = false;
			this.Controls.Add(this.toolStripContainer1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
			this.MinimumSize = new System.Drawing.Size(100, 100);
			this.Name = "FrmArmyTree";
			this.Text = "FrmArmyTree";
			this.toolStripContainer1.ContentPanel.ResumeLayout(false);
			this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
			this.toolStripContainer1.TopToolStripPanel.PerformLayout();
			this.toolStripContainer1.ResumeLayout(false);
			this.toolStripContainer1.PerformLayout();
			this.contextMenuStrip.ResumeLayout(false);
			this.toolStrip1.ResumeLayout(false);
			this.toolStrip1.PerformLayout();
			this.ResumeLayout(false);

		}

		#endregion

		private System.Windows.Forms.ToolStripContainer toolStripContainer1;
		private System.Windows.Forms.ToolStrip toolStrip1;
		private System.Windows.Forms.TreeView treeView;
		private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
		private Windows.Forms.IBBToolStripMenuItem miEditArmy;
		private Windows.Forms.IBBToolStripMenuItem miEditUnit;
		private Windows.Forms.IBBToolStripMenuItem miDeleteUnit;
		private Windows.Forms.IBBToolStripMenuItem miAddUnit;
		private Windows.Forms.IBBToolStripButton bttnAdd;
		private Windows.Forms.IBBToolStripButton bttnEdit;
		private Windows.Forms.IBBToolStripButton bttnDelete;
	}
}