Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
annotate 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 |
rev | line source |
---|---|
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 namespace IBBoard.WarFoundry.GUI.WinForms |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 { |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 partial class FrmArmyTree |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 { |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 /// <summary> |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 /// Required designer variable. |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 /// </summary> |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 private System.ComponentModel.IContainer components = null; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 /// <summary> |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 /// Clean up any resources being used. |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 /// </summary> |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 protected override void Dispose(bool disposing) |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 { |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 if (disposing && (components != null)) |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 { |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 components.Dispose(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 } |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 base.Dispose(disposing); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 } |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 #region Windows Form Designer generated code |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 /// <summary> |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 /// Required method for Designer support - do not modify |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 /// the contents of this method with the code editor. |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 /// </summary> |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 private void InitializeComponent() |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 { |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 this.components = new System.ComponentModel.Container(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 this.treeView = new System.Windows.Forms.TreeView(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 this.miEditArmy = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 this.miEditUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 this.miDeleteUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
38 this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 this.toolStrip1 = new System.Windows.Forms.ToolStrip(); |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
40 this.bttnAdd = new IBBoard.Windows.Forms.IBBToolStripButton(); |
235 | 41 this.bttnEdit = new IBBoard.Windows.Forms.IBBToolStripButton(); |
42 this.bttnDelete = new IBBoard.Windows.Forms.IBBToolStripButton(); | |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 this.toolStripContainer1.ContentPanel.SuspendLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 this.toolStripContainer1.SuspendLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 this.contextMenuStrip.SuspendLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 this.toolStrip1.SuspendLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 this.SuspendLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 // toolStripContainer1 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 this.toolStripContainer1.BottomToolStripPanelVisible = false; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 // toolStripContainer1.ContentPanel |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 this.toolStripContainer1.ContentPanel.Controls.Add(this.treeView); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(232, 241); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 this.toolStripContainer1.LeftToolStripPanelVisible = false; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 this.toolStripContainer1.Name = "toolStripContainer1"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 this.toolStripContainer1.RightToolStripPanelVisible = false; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 this.toolStripContainer1.Size = new System.Drawing.Size(232, 266); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 this.toolStripContainer1.TabIndex = 0; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 this.toolStripContainer1.Text = "toolStripContainer1"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 // toolStripContainer1.TopToolStripPanel |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 // treeView |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 this.treeView.ContextMenuStrip = this.contextMenuStrip; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 this.treeView.Dock = System.Windows.Forms.DockStyle.Fill; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 this.treeView.Location = new System.Drawing.Point(0, 0); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
76 this.treeView.Name = "treeView"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
77 this.treeView.Size = new System.Drawing.Size(232, 241); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
78 this.treeView.TabIndex = 0; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
79 this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 this.treeView.DoubleClick += new System.EventHandler(this.treeView_DoubleClick); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 this.treeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView_MouseDown); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
83 // contextMenuStrip |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
86 this.miAddUnit, |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 this.miEditArmy, |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 this.miEditUnit, |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
89 this.miDeleteUnit}); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 this.contextMenuStrip.Name = "contextMenuStrip1"; |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
91 this.contextMenuStrip.Size = new System.Drawing.Size(153, 114); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 // miEditArmy |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 this.miEditArmy.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 this.miEditArmy.Name = "miEditArmy"; |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
98 this.miEditArmy.Size = new System.Drawing.Size(152, 22); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 this.miEditArmy.Text = "edit army"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 this.miEditArmy.Click += new System.EventHandler(this.miEditArmy_Click); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 // miEditUnit |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 this.miEditUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
105 this.miEditUnit.Name = "miEditUnit"; |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
106 this.miEditUnit.Size = new System.Drawing.Size(152, 22); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 this.miEditUnit.Text = "edit unit"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 this.miEditUnit.Click += new System.EventHandler(this.miEdit_Click); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 // miDeleteUnit |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 this.miDeleteUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 this.miDeleteUnit.Name = "miDeleteUnit"; |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
114 this.miDeleteUnit.Size = new System.Drawing.Size(152, 22); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 this.miDeleteUnit.Text = "delete unit"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 this.miDeleteUnit.Click += new System.EventHandler(this.miDelete_Click); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 // |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
118 // miAddUnit |
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
119 // |
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
120 this.miAddUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add; |
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
121 this.miAddUnit.Name = "miAddUnit"; |
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
122 this.miAddUnit.Size = new System.Drawing.Size(152, 22); |
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
123 this.miAddUnit.Text = "add unit"; |
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
124 this.miAddUnit.Click += new System.EventHandler(this.miAddUnit_Click); |
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
125 // |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 // toolStrip1 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
130 this.bttnAdd, |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 this.bttnEdit, |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 this.bttnDelete}); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
133 this.toolStrip1.Location = new System.Drawing.Point(3, 0); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
134 this.toolStrip1.Name = "toolStrip1"; |
239
2c3474d652e1
Re #360: Add WinForms UI for adding contained units
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
135 this.toolStrip1.Size = new System.Drawing.Size(81, 25); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
136 this.toolStrip1.TabIndex = 0; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
137 // |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
138 // bttnAdd |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
139 // |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
140 this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
235 | 141 this.bttnAdd.Enabled = false; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
142 this.bttnAdd.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
143 this.bttnAdd.ImageTransparentColor = System.Drawing.Color.Magenta; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
144 this.bttnAdd.Name = "bttnAdd"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
145 this.bttnAdd.Size = new System.Drawing.Size(23, 22); |
235 | 146 this.bttnAdd.Text = "add unit"; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
147 this.bttnAdd.Click += new System.EventHandler(this.bttnAdd_Click); |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
148 // |
235 | 149 // bttnEdit |
150 // | |
151 this.bttnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
152 this.bttnEdit.Enabled = false; | |
153 this.bttnEdit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit; | |
154 this.bttnEdit.ImageTransparentColor = System.Drawing.Color.Magenta; | |
155 this.bttnEdit.Name = "bttnEdit"; | |
156 this.bttnEdit.Size = new System.Drawing.Size(23, 22); | |
157 this.bttnEdit.Text = "edit"; | |
158 this.bttnEdit.Click += new System.EventHandler(this.bttnEdit_Click); | |
159 // | |
160 // bttnDelete | |
161 // | |
162 this.bttnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
163 this.bttnDelete.Enabled = false; | |
164 this.bttnDelete.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete; | |
165 this.bttnDelete.ImageTransparentColor = System.Drawing.Color.Magenta; | |
166 this.bttnDelete.Name = "bttnDelete"; | |
167 this.bttnDelete.Size = new System.Drawing.Size(23, 22); | |
168 this.bttnDelete.Text = "delete"; | |
169 this.bttnDelete.Click += new System.EventHandler(this.bttnDelete_Click); | |
170 // | |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
171 // FrmArmyTree |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
172 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
173 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
174 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
175 this.ClientSize = new System.Drawing.Size(232, 266); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
176 this.ControlBox = false; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
177 this.Controls.Add(this.toolStripContainer1); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
178 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
179 this.MinimumSize = new System.Drawing.Size(100, 100); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
180 this.Name = "FrmArmyTree"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
181 this.Text = "FrmArmyTree"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
182 this.toolStripContainer1.ContentPanel.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
183 this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
184 this.toolStripContainer1.TopToolStripPanel.PerformLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
185 this.toolStripContainer1.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
186 this.toolStripContainer1.PerformLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
187 this.contextMenuStrip.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
188 this.toolStrip1.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
189 this.toolStrip1.PerformLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
190 this.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
191 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
192 } |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
193 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
194 #endregion |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
195 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
196 private System.Windows.Forms.ToolStripContainer toolStripContainer1; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
197 private System.Windows.Forms.ToolStrip toolStrip1; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
198 private System.Windows.Forms.TreeView treeView; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
199 private System.Windows.Forms.ContextMenuStrip contextMenuStrip; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
200 private Windows.Forms.IBBToolStripMenuItem miEditArmy; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
201 private Windows.Forms.IBBToolStripMenuItem miEditUnit; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
202 private Windows.Forms.IBBToolStripMenuItem miDeleteUnit; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
203 private Windows.Forms.IBBToolStripMenuItem miAddUnit; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
204 private Windows.Forms.IBBToolStripButton bttnAdd; |
235 | 205 private Windows.Forms.IBBToolStripButton bttnEdit; |
206 private Windows.Forms.IBBToolStripButton bttnDelete; | |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
207 } |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
208 } |