Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
annotate FrmArmyTree.Designer.cs @ 242:ea5cb50ebe5e
Fixes #384: Validation warnings don't get cleared when creating new armies
* Check whether army is valid when it changes (also means we validate on load as well as clearing on close)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Jan 2012 16:51:07 +0000 |
parents | f7b0cdb54c9c |
children | 2c3474d652e1 |
rev | line source |
---|---|
235
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(); |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
39 this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem(); |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
40 this.bttnAdd = new IBBoard.Windows.Forms.IBBToolStripButton(); |
240 | 41 this.bttnEdit = new IBBoard.Windows.Forms.IBBToolStripButton(); |
42 this.bttnDelete = new IBBoard.Windows.Forms.IBBToolStripButton(); | |
235
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, |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
88 this.miDeleteUnit, |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
89 this.miAddUnit}); |
235
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
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
91 this.contextMenuStrip.Size = new System.Drawing.Size(137, 92); |
235
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
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
98 this.miEditArmy.Size = new System.Drawing.Size(136, 22); |
235
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
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
106 this.miEditUnit.Size = new System.Drawing.Size(136, 22); |
235
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
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
114 this.miDeleteUnit.Size = new System.Drawing.Size(136, 22); |
235
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[] { |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
122 this.bttnAdd, |
235
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"; |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
127 this.toolStrip1.Size = new System.Drawing.Size(112, 25); |
235
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 // |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
130 // miAddUnit |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
131 // |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
132 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:
235
diff
changeset
|
133 this.miAddUnit.Name = "miAddUnit"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
134 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:
235
diff
changeset
|
135 this.miAddUnit.Text = "add unit"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
136 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:
235
diff
changeset
|
137 // |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
138 // bttnAdd |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
139 // |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
140 this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; |
240 | 141 this.bttnAdd.Enabled = false; |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
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:
235
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:
235
diff
changeset
|
144 this.bttnAdd.Name = "bttnAdd"; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
145 this.bttnAdd.Size = new System.Drawing.Size(23, 22); |
240 | 146 this.bttnAdd.Text = "add unit"; |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
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:
235
diff
changeset
|
148 // |
240 | 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 // | |
235
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; |
239
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
203 private Windows.Forms.IBBToolStripMenuItem miAddUnit; |
c06d0865ff27
Fixes #388: Add "Add unit" options to army tree
IBBoard <dev@ibboard.co.uk>
parents:
235
diff
changeset
|
204 private Windows.Forms.IBBToolStripButton bttnAdd; |
240 | 205 private Windows.Forms.IBBToolStripButton bttnEdit; |
206 private Windows.Forms.IBBToolStripButton bttnDelete; | |
235
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 } |