Add a Tab on the translation window. Starting to add ability to translate form items.
This commit is contained in:
parent
26404f3c2b
commit
e88fc8962a
@ -1969,4 +1969,12 @@
|
|||||||
<value>This device uses DHCP to configure its network settings. The gateway is set through the DHCP server, and will be updated when this device requests DHCP. If the gateway is wrong, make sure the gateway on the server is properly set.</value>
|
<value>This device uses DHCP to configure its network settings. The gateway is set through the DHCP server, and will be updated when this device requests DHCP. If the gateway is wrong, make sure the gateway on the server is properly set.</value>
|
||||||
<comment>This device uses DHCP to configure its network settings. The gateway is set through the DHCP server, and will be updated when this device requests DHCP. If the gateway is wrong, make sure the gateway on the server is properly set.</comment>
|
<comment>This device uses DHCP to configure its network settings. The gateway is set through the DHCP server, and will be updated when this device requests DHCP. If the gateway is wrong, make sure the gateway on the server is properly set.</comment>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="TW_Form" xml:space="preserve">
|
||||||
|
<value>Program</value>
|
||||||
|
<comment>TW_Form = Program</comment>
|
||||||
|
</data>
|
||||||
|
<data name="TW_Message" xml:space="preserve">
|
||||||
|
<value>Message / Title</value>
|
||||||
|
<comment>TW_Message = Message / Title</comment>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
85
EduNetworkBuilder/TranslationWindow.Designer.cs
generated
85
EduNetworkBuilder/TranslationWindow.Designer.cs
generated
@ -37,12 +37,17 @@
|
|||||||
this.lblStatus = new System.Windows.Forms.Label();
|
this.lblStatus = new System.Windows.Forms.Label();
|
||||||
this.tb1Title = new System.Windows.Forms.TextBox();
|
this.tb1Title = new System.Windows.Forms.TextBox();
|
||||||
this.tb2Title = new System.Windows.Forms.TextBox();
|
this.tb2Title = new System.Windows.Forms.TextBox();
|
||||||
|
this.tcTabPages = new System.Windows.Forms.TabControl();
|
||||||
|
this.tpMessageTitle = new System.Windows.Forms.TabPage();
|
||||||
|
this.tpFormStuff = new System.Windows.Forms.TabPage();
|
||||||
|
this.tcTabPages.SuspendLayout();
|
||||||
|
this.tpMessageTitle.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// cb1Language
|
// cb1Language
|
||||||
//
|
//
|
||||||
this.cb1Language.FormattingEnabled = true;
|
this.cb1Language.FormattingEnabled = true;
|
||||||
this.cb1Language.Location = new System.Drawing.Point(12, 12);
|
this.cb1Language.Location = new System.Drawing.Point(6, 9);
|
||||||
this.cb1Language.Name = "cb1Language";
|
this.cb1Language.Name = "cb1Language";
|
||||||
this.cb1Language.Size = new System.Drawing.Size(121, 24);
|
this.cb1Language.Size = new System.Drawing.Size(121, 24);
|
||||||
this.cb1Language.TabIndex = 0;
|
this.cb1Language.TabIndex = 0;
|
||||||
@ -52,10 +57,10 @@
|
|||||||
//
|
//
|
||||||
this.tb1Message.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.tb1Message.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.tb1Message.Location = new System.Drawing.Point(12, 42);
|
this.tb1Message.Location = new System.Drawing.Point(6, 39);
|
||||||
this.tb1Message.Multiline = true;
|
this.tb1Message.Multiline = true;
|
||||||
this.tb1Message.Name = "tb1Message";
|
this.tb1Message.Name = "tb1Message";
|
||||||
this.tb1Message.Size = new System.Drawing.Size(400, 181);
|
this.tb1Message.Size = new System.Drawing.Size(713, 181);
|
||||||
this.tb1Message.TabIndex = 10;
|
this.tb1Message.TabIndex = 10;
|
||||||
this.tb1Message.Leave += new System.EventHandler(this.tb1Message_Leave);
|
this.tb1Message.Leave += new System.EventHandler(this.tb1Message_Leave);
|
||||||
//
|
//
|
||||||
@ -64,17 +69,17 @@
|
|||||||
this.tb2Message.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.tb2Message.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.tb2Message.Location = new System.Drawing.Point(12, 261);
|
this.tb2Message.Location = new System.Drawing.Point(6, 266);
|
||||||
this.tb2Message.Multiline = true;
|
this.tb2Message.Multiline = true;
|
||||||
this.tb2Message.Name = "tb2Message";
|
this.tb2Message.Name = "tb2Message";
|
||||||
this.tb2Message.Size = new System.Drawing.Size(400, 181);
|
this.tb2Message.Size = new System.Drawing.Size(713, 162);
|
||||||
this.tb2Message.TabIndex = 12;
|
this.tb2Message.TabIndex = 12;
|
||||||
this.tb2Message.Leave += new System.EventHandler(this.tb2Message_Leave);
|
this.tb2Message.Leave += new System.EventHandler(this.tb2Message_Leave);
|
||||||
//
|
//
|
||||||
// cb2Language
|
// cb2Language
|
||||||
//
|
//
|
||||||
this.cb2Language.FormattingEnabled = true;
|
this.cb2Language.FormattingEnabled = true;
|
||||||
this.cb2Language.Location = new System.Drawing.Point(12, 231);
|
this.cb2Language.Location = new System.Drawing.Point(6, 236);
|
||||||
this.cb2Language.Name = "cb2Language";
|
this.cb2Language.Name = "cb2Language";
|
||||||
this.cb2Language.Size = new System.Drawing.Size(121, 24);
|
this.cb2Language.Size = new System.Drawing.Size(121, 24);
|
||||||
this.cb2Language.TabIndex = 11;
|
this.cb2Language.TabIndex = 11;
|
||||||
@ -83,7 +88,7 @@
|
|||||||
// btnClose
|
// btnClose
|
||||||
//
|
//
|
||||||
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.btnClose.Location = new System.Drawing.Point(337, 456);
|
this.btnClose.Location = new System.Drawing.Point(368, 484);
|
||||||
this.btnClose.Name = "btnClose";
|
this.btnClose.Name = "btnClose";
|
||||||
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
||||||
this.btnClose.TabIndex = 13;
|
this.btnClose.TabIndex = 13;
|
||||||
@ -94,7 +99,7 @@
|
|||||||
// btnSave
|
// btnSave
|
||||||
//
|
//
|
||||||
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.btnSave.Location = new System.Drawing.Point(12, 456);
|
this.btnSave.Location = new System.Drawing.Point(12, 484);
|
||||||
this.btnSave.Name = "btnSave";
|
this.btnSave.Name = "btnSave";
|
||||||
this.btnSave.Size = new System.Drawing.Size(75, 23);
|
this.btnSave.Size = new System.Drawing.Size(75, 23);
|
||||||
this.btnSave.TabIndex = 14;
|
this.btnSave.TabIndex = 14;
|
||||||
@ -106,7 +111,7 @@
|
|||||||
//
|
//
|
||||||
this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||||
this.lblStatus.AutoSize = true;
|
this.lblStatus.AutoSize = true;
|
||||||
this.lblStatus.Location = new System.Drawing.Point(139, 459);
|
this.lblStatus.Location = new System.Drawing.Point(139, 487);
|
||||||
this.lblStatus.Name = "lblStatus";
|
this.lblStatus.Name = "lblStatus";
|
||||||
this.lblStatus.Size = new System.Drawing.Size(48, 17);
|
this.lblStatus.Size = new System.Drawing.Size(48, 17);
|
||||||
this.lblStatus.TabIndex = 15;
|
this.lblStatus.TabIndex = 15;
|
||||||
@ -116,9 +121,9 @@
|
|||||||
//
|
//
|
||||||
this.tb1Title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.tb1Title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.tb1Title.Location = new System.Drawing.Point(185, 12);
|
this.tb1Title.Location = new System.Drawing.Point(172, 11);
|
||||||
this.tb1Title.Name = "tb1Title";
|
this.tb1Title.Name = "tb1Title";
|
||||||
this.tb1Title.Size = new System.Drawing.Size(227, 22);
|
this.tb1Title.Size = new System.Drawing.Size(547, 22);
|
||||||
this.tb1Title.TabIndex = 16;
|
this.tb1Title.TabIndex = 16;
|
||||||
this.tb1Title.Leave += new System.EventHandler(this.tb1Title_Leave);
|
this.tb1Title.Leave += new System.EventHandler(this.tb1Title_Leave);
|
||||||
//
|
//
|
||||||
@ -126,30 +131,67 @@
|
|||||||
//
|
//
|
||||||
this.tb2Title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.tb2Title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.tb2Title.Location = new System.Drawing.Point(185, 231);
|
this.tb2Title.Location = new System.Drawing.Point(172, 236);
|
||||||
this.tb2Title.Name = "tb2Title";
|
this.tb2Title.Name = "tb2Title";
|
||||||
this.tb2Title.Size = new System.Drawing.Size(227, 22);
|
this.tb2Title.Size = new System.Drawing.Size(547, 22);
|
||||||
this.tb2Title.TabIndex = 17;
|
this.tb2Title.TabIndex = 17;
|
||||||
this.tb2Title.Leave += new System.EventHandler(this.tb2Title_Leave);
|
this.tb2Title.Leave += new System.EventHandler(this.tb2Title_Leave);
|
||||||
//
|
//
|
||||||
|
// tcTabPages
|
||||||
|
//
|
||||||
|
this.tcTabPages.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.tcTabPages.Controls.Add(this.tpMessageTitle);
|
||||||
|
this.tcTabPages.Controls.Add(this.tpFormStuff);
|
||||||
|
this.tcTabPages.Location = new System.Drawing.Point(7, 6);
|
||||||
|
this.tcTabPages.Name = "tcTabPages";
|
||||||
|
this.tcTabPages.SelectedIndex = 0;
|
||||||
|
this.tcTabPages.Size = new System.Drawing.Size(436, 463);
|
||||||
|
this.tcTabPages.TabIndex = 18;
|
||||||
|
//
|
||||||
|
// tpMessageTitle
|
||||||
|
//
|
||||||
|
this.tpMessageTitle.Controls.Add(this.tb1Title);
|
||||||
|
this.tpMessageTitle.Controls.Add(this.tb2Title);
|
||||||
|
this.tpMessageTitle.Controls.Add(this.tb2Message);
|
||||||
|
this.tpMessageTitle.Controls.Add(this.cb2Language);
|
||||||
|
this.tpMessageTitle.Controls.Add(this.tb1Message);
|
||||||
|
this.tpMessageTitle.Controls.Add(this.cb1Language);
|
||||||
|
this.tpMessageTitle.Location = new System.Drawing.Point(4, 25);
|
||||||
|
this.tpMessageTitle.Name = "tpMessageTitle";
|
||||||
|
this.tpMessageTitle.Padding = new System.Windows.Forms.Padding(3);
|
||||||
|
this.tpMessageTitle.Size = new System.Drawing.Size(726, 434);
|
||||||
|
this.tpMessageTitle.TabIndex = 0;
|
||||||
|
this.tpMessageTitle.Text = "Messages";
|
||||||
|
this.tpMessageTitle.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// tpFormStuff
|
||||||
|
//
|
||||||
|
this.tpFormStuff.Location = new System.Drawing.Point(4, 25);
|
||||||
|
this.tpFormStuff.Name = "tpFormStuff";
|
||||||
|
this.tpFormStuff.Padding = new System.Windows.Forms.Padding(3);
|
||||||
|
this.tpFormStuff.Size = new System.Drawing.Size(428, 434);
|
||||||
|
this.tpFormStuff.TabIndex = 1;
|
||||||
|
this.tpFormStuff.Text = "Forms";
|
||||||
|
this.tpFormStuff.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
// TranslationWindow
|
// TranslationWindow
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(433, 491);
|
this.ClientSize = new System.Drawing.Size(464, 519);
|
||||||
this.Controls.Add(this.tb2Title);
|
|
||||||
this.Controls.Add(this.tb1Title);
|
|
||||||
this.Controls.Add(this.lblStatus);
|
this.Controls.Add(this.lblStatus);
|
||||||
this.Controls.Add(this.btnSave);
|
this.Controls.Add(this.btnSave);
|
||||||
this.Controls.Add(this.btnClose);
|
this.Controls.Add(this.btnClose);
|
||||||
this.Controls.Add(this.tb2Message);
|
this.Controls.Add(this.tcTabPages);
|
||||||
this.Controls.Add(this.cb2Language);
|
|
||||||
this.Controls.Add(this.tb1Message);
|
|
||||||
this.Controls.Add(this.cb1Language);
|
|
||||||
this.Name = "TranslationWindow";
|
this.Name = "TranslationWindow";
|
||||||
this.Text = "TranslationWindow";
|
this.Text = "TranslationWindow";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TranslationWindow_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TranslationWindow_FormClosing);
|
||||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TranslationWindow_KeyDown);
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TranslationWindow_KeyDown);
|
||||||
|
this.tcTabPages.ResumeLayout(false);
|
||||||
|
this.tpMessageTitle.ResumeLayout(false);
|
||||||
|
this.tpMessageTitle.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@ -166,5 +208,8 @@
|
|||||||
private System.Windows.Forms.Label lblStatus;
|
private System.Windows.Forms.Label lblStatus;
|
||||||
private System.Windows.Forms.TextBox tb1Title;
|
private System.Windows.Forms.TextBox tb1Title;
|
||||||
private System.Windows.Forms.TextBox tb2Title;
|
private System.Windows.Forms.TextBox tb2Title;
|
||||||
|
private System.Windows.Forms.TabControl tcTabPages;
|
||||||
|
private System.Windows.Forms.TabPage tpMessageTitle;
|
||||||
|
private System.Windows.Forms.TabPage tpFormStuff;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -55,6 +55,8 @@ namespace EduNetworkBuilder
|
|||||||
Text = NB.Translate("TW_Translate");
|
Text = NB.Translate("TW_Translate");
|
||||||
btnSave.Text = NB.Translate("_Save");
|
btnSave.Text = NB.Translate("_Save");
|
||||||
btnClose.Text = NB.Translate("_Done");
|
btnClose.Text = NB.Translate("_Done");
|
||||||
|
tpMessageTitle.Text = NB.Translate("TW_Message");
|
||||||
|
tpFormStuff.Text = NB.Translate("TW_Form");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ClosingStuff()
|
private void ClosingStuff()
|
||||||
|
Loading…
Reference in New Issue
Block a user