Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
annotate FrmArmyTree.Designer.cs @ 234:c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
* Add button, context menu and double-click hooks for adding units
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Jan 2012 11:36:23 +0000 |
parents | 5b8f0a6bf0b2 |
children | f7b0cdb54c9c |
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(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 this.toolStrip1 = new System.Windows.Forms.ToolStrip(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 this.bttnEdit = new System.Windows.Forms.ToolStripButton(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 this.bttnDelete = new System.Windows.Forms.ToolStripButton(); |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
41 this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
42 this.bttnAdd = 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[] { |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 this.miEditArmy, |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 this.miEditUnit, |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
88 this.miDeleteUnit, |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
89 this.miAddUnit}); |
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"; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
91 this.contextMenuStrip.Size = new System.Drawing.Size(137, 92); |
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"; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
98 this.miEditArmy.Size = new System.Drawing.Size(136, 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"; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
106 this.miEditUnit.Size = new System.Drawing.Size(136, 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"; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
114 this.miDeleteUnit.Size = new System.Drawing.Size(136, 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 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 // toolStrip1 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 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
|
121 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
|
122 this.bttnAdd, |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 this.bttnEdit, |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 this.bttnDelete}); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 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
|
126 this.toolStrip1.Name = "toolStrip1"; |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
127 this.toolStrip1.Size = new System.Drawing.Size(112, 25); |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 this.toolStrip1.TabIndex = 0; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 // bttnEdit |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 this.bttnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
133 this.bttnEdit.Enabled = false; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
134 this.bttnEdit.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
|
135 this.bttnEdit.ImageTransparentColor = System.Drawing.Color.Magenta; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
136 this.bttnEdit.Name = "bttnEdit"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
137 this.bttnEdit.Size = new System.Drawing.Size(23, 22); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
138 this.bttnEdit.Text = "toolStripButton1"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 this.bttnEdit.Click += new System.EventHandler(this.bttnEdit_Click); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
140 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
141 // bttnDelete |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
142 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
143 this.bttnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
144 this.bttnDelete.Enabled = false; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
145 this.bttnDelete.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
|
146 this.bttnDelete.ImageTransparentColor = System.Drawing.Color.Magenta; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
147 this.bttnDelete.Name = "bttnDelete"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
148 this.bttnDelete.Size = new System.Drawing.Size(23, 22); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
149 this.bttnDelete.Text = "toolStripButton2"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
150 this.bttnDelete.Click += new System.EventHandler(this.bttnDelete_Click); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
151 // |
234
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
152 // miAddUnit |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
153 // |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
154 this.miAddUnit.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
|
155 this.miAddUnit.Name = "miAddUnit"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
156 this.miAddUnit.Size = new System.Drawing.Size(136, 22); |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
157 this.miAddUnit.Text = "add unit"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
158 this.miAddUnit.Click += new System.EventHandler(this.miAddUnit_Click); |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
159 // |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
160 // bttnAdd |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
161 // |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
162 this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
163 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
|
164 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
|
165 this.bttnAdd.Name = "bttnAdd"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
166 this.bttnAdd.Size = new System.Drawing.Size(23, 22); |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
167 this.bttnAdd.Text = "ibbToolStripButton1"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
168 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
|
169 // |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
170 // FrmArmyTree |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
171 // |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
172 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
|
173 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
|
174 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
|
175 this.ControlBox = false; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
176 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
|
177 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
|
178 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
|
179 this.Name = "FrmArmyTree"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
180 this.Text = "FrmArmyTree"; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
181 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
|
182 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
|
183 this.toolStripContainer1.TopToolStripPanel.PerformLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
184 this.toolStripContainer1.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
185 this.toolStripContainer1.PerformLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
186 this.contextMenuStrip.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
187 this.toolStrip1.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.PerformLayout(); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
189 this.ResumeLayout(false); |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
190 |
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 #endregion |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
194 |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
195 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
|
196 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
|
197 private System.Windows.Forms.ToolStripButton bttnEdit; |
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.ToolStripButton bttnDelete; |
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.TreeView treeView; |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
200 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
|
201 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
|
202 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
|
203 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
|
204 private Windows.Forms.IBBToolStripMenuItem miAddUnit; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
230
diff
changeset
|
205 private Windows.Forms.IBBToolStripButton bttnAdd; |
230
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
206 } |
5b8f0a6bf0b2
Re #382: WinForms builds from Linux/Mono fail on Windows/.Net
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
207 } |