From c017cb42a3819a88e63721f62efa4b458dab4025 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 3 Oct 2017 08:46:28 -0500 Subject: [PATCH] initial translators window for translating puzzles --- EduNetworkBuilder/EduNetworkBuilder.csproj | 9 ++ .../TranslationWindow.Designer.cs | 116 +++++++++++++++++ EduNetworkBuilder/TranslationWindow.cs | 20 +++ EduNetworkBuilder/TranslationWindow.resx | 120 ++++++++++++++++++ 4 files changed, 265 insertions(+) create mode 100644 EduNetworkBuilder/TranslationWindow.Designer.cs create mode 100644 EduNetworkBuilder/TranslationWindow.cs create mode 100644 EduNetworkBuilder/TranslationWindow.resx diff --git a/EduNetworkBuilder/EduNetworkBuilder.csproj b/EduNetworkBuilder/EduNetworkBuilder.csproj index a1bf2b5..11bf85e 100644 --- a/EduNetworkBuilder/EduNetworkBuilder.csproj +++ b/EduNetworkBuilder/EduNetworkBuilder.csproj @@ -183,6 +183,12 @@ RTFWindow.cs + + Form + + + TranslationWindow.cs + @@ -238,6 +244,9 @@ RTFWindow.cs + + TranslationWindow.cs + VLANConfig.cs diff --git a/EduNetworkBuilder/TranslationWindow.Designer.cs b/EduNetworkBuilder/TranslationWindow.Designer.cs new file mode 100644 index 0000000..bb8befd --- /dev/null +++ b/EduNetworkBuilder/TranslationWindow.Designer.cs @@ -0,0 +1,116 @@ +namespace EduNetworkBuilder +{ + partial class TranslationWindow + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.cb1Language = new System.Windows.Forms.ComboBox(); + this.tb1Message = new System.Windows.Forms.TextBox(); + this.tb2Message = new System.Windows.Forms.TextBox(); + this.cb2Language = new System.Windows.Forms.ComboBox(); + this.btnClose = new System.Windows.Forms.Button(); + this.btnSave = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // cb1Language + // + this.cb1Language.FormattingEnabled = true; + this.cb1Language.Location = new System.Drawing.Point(12, 12); + this.cb1Language.Name = "cb1Language"; + this.cb1Language.Size = new System.Drawing.Size(121, 24); + this.cb1Language.TabIndex = 0; + // + // tb1Message + // + this.tb1Message.Location = new System.Drawing.Point(12, 42); + this.tb1Message.Multiline = true; + this.tb1Message.Name = "tb1Message"; + this.tb1Message.Size = new System.Drawing.Size(400, 181); + this.tb1Message.TabIndex = 10; + // + // tb2Message + // + this.tb2Message.Location = new System.Drawing.Point(12, 261); + this.tb2Message.Multiline = true; + this.tb2Message.Name = "tb2Message"; + this.tb2Message.Size = new System.Drawing.Size(400, 181); + this.tb2Message.TabIndex = 12; + // + // cb2Language + // + this.cb2Language.FormattingEnabled = true; + this.cb2Language.Location = new System.Drawing.Point(12, 231); + this.cb2Language.Name = "cb2Language"; + this.cb2Language.Size = new System.Drawing.Size(121, 24); + this.cb2Language.TabIndex = 11; + // + // btnClose + // + this.btnClose.Location = new System.Drawing.Point(337, 456); + this.btnClose.Name = "btnClose"; + this.btnClose.Size = new System.Drawing.Size(75, 23); + this.btnClose.TabIndex = 13; + this.btnClose.Text = "Close"; + this.btnClose.UseVisualStyleBackColor = true; + // + // btnSave + // + this.btnSave.Location = new System.Drawing.Point(12, 456); + this.btnSave.Name = "btnSave"; + this.btnSave.Size = new System.Drawing.Size(75, 23); + this.btnSave.TabIndex = 14; + this.btnSave.Text = "Save"; + this.btnSave.UseVisualStyleBackColor = true; + // + // TranslationWindow + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(433, 491); + this.Controls.Add(this.btnSave); + this.Controls.Add(this.btnClose); + this.Controls.Add(this.tb2Message); + this.Controls.Add(this.cb2Language); + this.Controls.Add(this.tb1Message); + this.Controls.Add(this.cb1Language); + this.Name = "TranslationWindow"; + this.Text = "TranslationWindow"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.ComboBox cb1Language; + private System.Windows.Forms.TextBox tb1Message; + private System.Windows.Forms.TextBox tb2Message; + private System.Windows.Forms.ComboBox cb2Language; + private System.Windows.Forms.Button btnClose; + private System.Windows.Forms.Button btnSave; + } +} \ No newline at end of file diff --git a/EduNetworkBuilder/TranslationWindow.cs b/EduNetworkBuilder/TranslationWindow.cs new file mode 100644 index 0000000..8ed6774 --- /dev/null +++ b/EduNetworkBuilder/TranslationWindow.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace EduNetworkBuilder +{ + public partial class TranslationWindow : Form + { + public TranslationWindow() + { + InitializeComponent(); + } + } +} diff --git a/EduNetworkBuilder/TranslationWindow.resx b/EduNetworkBuilder/TranslationWindow.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/EduNetworkBuilder/TranslationWindow.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file