comparison FrmPreferences.Designer.cs @ 140:60c795eca8de WarFoundry_v0.1beta8_Winforms

Re #265: Add language preference UI * Add initial preferences dialog with translation options * Re-translate main form when language changes * Save translation for later use Only known bug on initial quick implementation is that open unit dialogs become named "{0}" (which should be replaced by unit name), but this should be quite a simple fix
author IBBoard <dev@ibboard.co.uk>
date Sun, 11 Apr 2010 19:55:03 +0000
parents
children e0af96397e26
comparison
equal deleted inserted replaced
139:b3eec7735006 140:60c795eca8de
1 namespace IBBoard.WarFoundry.GUI.WinForms
2 {
3 partial class FrmPreferences
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.preferenceSections = new System.Windows.Forms.TreeView();
32 this.languagesGroup = new System.Windows.Forms.GroupBox();
33 this.lblLanguage = new IBBoard.Windows.Forms.IBBLabel();
34 this.languageList = new System.Windows.Forms.ComboBox();
35 this.bttnOkay = new System.Windows.Forms.Button();
36 this.bttnCancel = new System.Windows.Forms.Button();
37 this.languagesGroup.SuspendLayout();
38 this.SuspendLayout();
39 //
40 // preferenceSections
41 //
42 this.preferenceSections.Location = new System.Drawing.Point(12, 12);
43 this.preferenceSections.Name = "preferenceSections";
44 this.preferenceSections.Size = new System.Drawing.Size(159, 340);
45 this.preferenceSections.TabIndex = 0;
46 //
47 // languagesGroup
48 //
49 this.languagesGroup.Controls.Add(this.languageList);
50 this.languagesGroup.Controls.Add(this.lblLanguage);
51 this.languagesGroup.Location = new System.Drawing.Point(177, 12);
52 this.languagesGroup.Name = "languagesGroup";
53 this.languagesGroup.Size = new System.Drawing.Size(436, 300);
54 this.languagesGroup.TabIndex = 1;
55 this.languagesGroup.TabStop = false;
56 this.languagesGroup.Text = "languages";
57 //
58 // lblLanguage
59 //
60 this.lblLanguage.Location = new System.Drawing.Point(6, 28);
61 this.lblLanguage.Name = "lblLanguage";
62 this.lblLanguage.Size = new System.Drawing.Size(138, 23);
63 this.lblLanguage.TabIndex = 0;
64 this.lblLanguage.Text = "language:";
65 //
66 // languageList
67 //
68 this.languageList.FormattingEnabled = true;
69 this.languageList.Location = new System.Drawing.Point(150, 25);
70 this.languageList.Name = "languageList";
71 this.languageList.Size = new System.Drawing.Size(121, 21);
72 this.languageList.TabIndex = 1;
73 //
74 // bttnOkay
75 //
76 this.bttnOkay.Enabled = false;
77 this.bttnOkay.Location = new System.Drawing.Point(538, 328);
78 this.bttnOkay.Name = "bttnOkay";
79 this.bttnOkay.Size = new System.Drawing.Size(75, 23);
80 this.bttnOkay.TabIndex = 2;
81 this.bttnOkay.Text = "okay";
82 this.bttnOkay.UseVisualStyleBackColor = true;
83 this.bttnOkay.Click += new System.EventHandler(this.bttnOkay_Click);
84 //
85 // bttnCancel
86 //
87 this.bttnCancel.Location = new System.Drawing.Point(457, 329);
88 this.bttnCancel.Name = "bttnCancel";
89 this.bttnCancel.Size = new System.Drawing.Size(75, 23);
90 this.bttnCancel.TabIndex = 3;
91 this.bttnCancel.Text = "cancel";
92 this.bttnCancel.UseVisualStyleBackColor = true;
93 this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click);
94 //
95 // FrmPreferences
96 //
97 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
98 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
99 this.ClientSize = new System.Drawing.Size(625, 364);
100 this.Controls.Add(this.bttnCancel);
101 this.Controls.Add(this.bttnOkay);
102 this.Controls.Add(this.languagesGroup);
103 this.Controls.Add(this.preferenceSections);
104 this.Name = "FrmPreferences";
105 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
106 this.Text = "preferences";
107 this.languagesGroup.ResumeLayout(false);
108 this.ResumeLayout(false);
109
110 }
111
112 #endregion
113
114 private System.Windows.Forms.TreeView preferenceSections;
115 private System.Windows.Forms.GroupBox languagesGroup;
116 private System.Windows.Forms.ComboBox languageList;
117 private IBBoard.Windows.Forms.IBBLabel lblLanguage;
118 private System.Windows.Forms.Button bttnOkay;
119 private System.Windows.Forms.Button bttnCancel;
120 }
121 }