Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
annotate FrmPreferences.Designer.cs @ 203:b4e428dcfcb6 default-army-name
Re #153: Default name for armies
* Have a fight between VS.Net versions over how to reference projects (may need to update from 2K3 but still target .Net 2)
* Use property of race object and clean up comments
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 07 Sep 2010 20:03:52 +0000 |
parents | 4b96e6a6c999 |
children |
rev | line source |
---|---|
152
4b96e6a6c999
Fixes #275: error in language switching
IBBoard <dev@ibboard.co.uk>
parents:
142
diff
changeset
|
1 using IBBoard.Lang; |
4b96e6a6c999
Fixes #275: error in language switching
IBBoard <dev@ibboard.co.uk>
parents:
142
diff
changeset
|
2 |
140
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 namespace IBBoard.WarFoundry.GUI.WinForms |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 { |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 partial class FrmPreferences |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 { |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 /// <summary> |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 /// Required designer variable. |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 /// </summary> |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 private System.ComponentModel.IContainer components = null; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 /// <summary> |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 /// Clean up any resources being used. |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 /// </summary> |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 protected override void Dispose(bool disposing) |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 { |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 if (disposing && (components != null)) |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 { |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 components.Dispose(); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 } |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 base.Dispose(disposing); |
152
4b96e6a6c999
Fixes #275: error in language switching
IBBoard <dev@ibboard.co.uk>
parents:
142
diff
changeset
|
23 |
4b96e6a6c999
Fixes #275: error in language switching
IBBoard <dev@ibboard.co.uk>
parents:
142
diff
changeset
|
24 Translation.TranslationChanged -= new MethodInvoker(TranslateForm); |
140
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 } |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 #region Windows Form Designer generated code |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 /// <summary> |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 /// Required method for Designer support - do not modify |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 /// the contents of this method with the code editor. |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 /// </summary> |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 private void InitializeComponent() |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 { |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 this.preferenceSections = new System.Windows.Forms.TreeView(); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 this.languagesGroup = new System.Windows.Forms.GroupBox(); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 this.lblLanguage = new IBBoard.Windows.Forms.IBBLabel(); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 this.languageList = new System.Windows.Forms.ComboBox(); |
142 | 39 this.bttnOkay = new IBBoard.Windows.Forms.IBBButton(); |
40 this.bttnCancel = new IBBoard.Windows.Forms.IBBButton(); | |
140
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 this.languagesGroup.SuspendLayout(); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 this.SuspendLayout(); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 // preferenceSections |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 this.preferenceSections.Location = new System.Drawing.Point(12, 12); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 this.preferenceSections.Name = "preferenceSections"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 this.preferenceSections.Size = new System.Drawing.Size(159, 340); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 this.preferenceSections.TabIndex = 0; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 // languagesGroup |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 this.languagesGroup.Controls.Add(this.languageList); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 this.languagesGroup.Controls.Add(this.lblLanguage); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 this.languagesGroup.Location = new System.Drawing.Point(177, 12); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 this.languagesGroup.Name = "languagesGroup"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 this.languagesGroup.Size = new System.Drawing.Size(436, 300); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 this.languagesGroup.TabIndex = 1; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 this.languagesGroup.TabStop = false; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 this.languagesGroup.Text = "languages"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 // lblLanguage |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 this.lblLanguage.Location = new System.Drawing.Point(6, 28); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 this.lblLanguage.Name = "lblLanguage"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 this.lblLanguage.Size = new System.Drawing.Size(138, 23); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 this.lblLanguage.TabIndex = 0; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 this.lblLanguage.Text = "language:"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 // languageList |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 this.languageList.FormattingEnabled = true; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 this.languageList.Location = new System.Drawing.Point(150, 25); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 this.languageList.Name = "languageList"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 this.languageList.Size = new System.Drawing.Size(121, 21); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
76 this.languageList.TabIndex = 1; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
77 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
78 // bttnOkay |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
79 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 this.bttnOkay.Enabled = false; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 this.bttnOkay.Location = new System.Drawing.Point(538, 328); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 this.bttnOkay.Name = "bttnOkay"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
83 this.bttnOkay.Size = new System.Drawing.Size(75, 23); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 this.bttnOkay.TabIndex = 2; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 this.bttnOkay.Text = "okay"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 this.bttnOkay.UseVisualStyleBackColor = true; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 this.bttnOkay.Click += new System.EventHandler(this.bttnOkay_Click); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 // bttnCancel |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 this.bttnCancel.Location = new System.Drawing.Point(457, 329); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 this.bttnCancel.Name = "bttnCancel"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 this.bttnCancel.Size = new System.Drawing.Size(75, 23); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 this.bttnCancel.TabIndex = 3; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 this.bttnCancel.Text = "cancel"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 this.bttnCancel.UseVisualStyleBackColor = true; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 // FrmPreferences |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 // |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 this.ClientSize = new System.Drawing.Size(625, 364); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 this.Controls.Add(this.bttnCancel); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
105 this.Controls.Add(this.bttnOkay); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 this.Controls.Add(this.languagesGroup); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 this.Controls.Add(this.preferenceSections); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 this.Name = "FrmPreferences"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 this.Text = "preferences"; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 this.languagesGroup.ResumeLayout(false); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 this.ResumeLayout(false); |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 } |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 #endregion |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 private System.Windows.Forms.TreeView preferenceSections; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 private System.Windows.Forms.GroupBox languagesGroup; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 private System.Windows.Forms.ComboBox languageList; |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 private IBBoard.Windows.Forms.IBBLabel lblLanguage; |
142 | 122 private IBBoard.Windows.Forms.IBBButton bttnOkay; |
123 private IBBoard.Windows.Forms.IBBButton bttnCancel; | |
140
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 } |
60c795eca8de
Re #265: Add language preference UI
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 } |